Re: temp tables and pg_pconnect()

From: "Adam Lang" <aalang(at)rutgersinsurance(dot)com>
To: <pgsql-php(at)postgresql(dot)org>
Subject: Re: temp tables and pg_pconnect()
Date: 2001-10-13 21:04:15
Message-ID: 001001c1542a$9e0e9540$330a0a0a@rutgersinsurance.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

You got it backwards I think. He wants to use pg_pconnect and have the temp
tables dropped.

Adam Lang
Systems Engineer
Rutgers Casualty Insurance Company
http://www.rutgersinsurance.com
----- Original Message -----
From: "Papp Gyozo" <pgerzson(at)freestart(dot)hu>
To: <esaracco(at)noos(dot)fr>; <pgsql-php(at)postgresql(dot)org>
Sent: Saturday, October 13, 2001 3:04 PM
Subject: Re: [PHP] temp tables and pg_pconnect()

> I'm afraid you can't save your temp tables if you use pg_connect,
> because the connection opened by pg_connect automagically closed
> on the end of the script. So connection closed and temp tables
> will be dropped.
>
> ----- Original Message -----
> From: "Emmanuel SARACCO" <esaracco(at)noos(dot)fr>
> To: <pgsql-php(at)postgresql(dot)org>
> Sent: Saturday, October 13, 2001 7:14 PM
> Subject: [PHP] temp tables and pg_pconnect()
>
>
> > hi,
> >
> > I am using temp tables in stored procedures (I just can not create
> > normal tables because I must retreive values from those tables in those
> > stored procedures with the "execute" instruction).
> >
> > doing connexions with pg_connect()/pg_close() on each php page all work
> > fine, but when I try to use pg_pconnect() (wich is much more efficient!)
> > temp table are not detroyed...
> >
> > how can I use pg_connect() and continue using temp tables in stored
> > procedures?
> >
> > thanks
> >
> >
> > --
> > Emmanuel SARACCO
> > Email: esaracco(at)noos(dot)fr
> >
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 4: Don't 'kill -9' the postmaster
>
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>

In response to

Browse pgsql-php by date

  From Date Subject
Next Message Craig Small 2001-10-14 04:40:55 tuple concurrently updated error
Previous Message Brent R. Matzelle 2001-10-13 19:29:05 Re: temp tables and pg_pconnect()