From: Chadwick Rolfs <cmr@shell.gis.net>
To: pgsql-php@postgresql.org
Subject: passing resource id's through functions
Date: Fri, 11 Jan 2002 10:44:05 -0500 (EST)
Message-ID: <Pine.SOL.3.96.1020111103856.19632A-100000@shell.gis.net> (raw)
I seem to have figured out that pg_connect returns a resource ID that will
not pass into another function, and that pg_pconnect does. I'm not too
keen on the persistent connections. Can someone confirm this belief? I'm
trying to remember where on php.net I read how to pass pg_connect
resources to other functions, and haven't found it at functions,
persistent connections, pg_connect or pg_pconnect.
Any help would be appreciated, and helpful :)
Chadwick Rolfs - cmr@gis.net
Cleveland State University - Student
Music Major - The Holden Arboretum Volunteer
Computer Programmer - Student Employee
--*I finally found powdered water;
I just can't figure out what to add to it*--
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: cmr@shell.gis.net
Subject: Re: passing resource id's through functions
In-Reply-To: <Pine.SOL.3.96.1020111103856.19632A-100000@shell.gis.net>
References: <Pine.SOL.3.96.1020111103856.19632A-100000@shell.gis.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox