Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Novice > pg_prepare ques...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 3030 of 3177
Post > Topic >>

pg_prepare question

by maryfran@[EMAIL PROTECTED] (Mary Anderson) Mar 7, 2008 at 10:21 AM

Hi,
   I know I should be using pg_prepare/pg_execute to make my PHP - 
postgres code more secure.  But I am wondering just what I can put in 
for parameters:  Here is a brief checklist:

     1.  values for inserted columns            OK
     2.  names of inserted columns              ????
     3.  names of tables                        ????
     4.  A whole select list e.g. "fu, bar"     NOT OK

My application is a bit more complex than the ones shown in the books 
and manuals.  My data comes in as a large number of individual tables 
which are sort of related (worldwide mortality statistics) but which 
have widely differing table structures.  So I am always creating 
tem****ary tables to handle data input and output, and these tables have 
variable column structure.

Thanks in advance
Mary

-- 
Sent via pgsql-novice mailing list (pgsql-novice@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-novice
 




 2 Posts in Topic:
pg_prepare question
maryfran@[EMAIL PROTECTED  2008-03-07 10:21:08 
Re: pg_prepare question
desoi@[EMAIL PROTECTED]   2008-03-09 19:24:02 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Thu Jul 24 6:53:30 CDT 2008.