example for "options=myOptions" in pg_pconnect()

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
User avatar
gite_ashish
Forum Contributor
Posts: 118
Joined: Sat Aug 31, 2002 11:38 am
Location: India

example for "options=myOptions" in pg_pconnect()

Post 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.
User avatar
CoderGoblin
DevNet Resident
Posts: 1425
Joined: Tue Mar 16, 2004 10:03 am
Location: Aachen, Germany

Post 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..
Post Reply