Page 1 of 1

example for "options=myOptions" in pg_pconnect()

Posted: Tue Nov 23, 2004 7:00 am
by gite_ashish
Hi,

<php manual>
A connection to PostgreSQL server can be established with the following value pairs set in the command string: $conn = pg_connect("host=myHost port=myPort tty=myTTY options=myOptions dbname=myDB user=myUser password=myPassword ");
</php manual>

Any example of what can be there in "options=myOptions" ?

Thanks.

Posted: Tue Nov 23, 2004 8:51 am
by CoderGoblin
I Don't know... Never had to use any.

Only thought is maybe the ini options...
pgsql.allow_persistent
pgsql.max_persistent
pgsql.max_links
pgsql.auto_reset_persistent
pgsql.ignore_notice
pgsql.log_notice

but that is just a guess. Would have to try it and do not currently have the time..