Re: How to view temp tables - Mailing list pgsql-general

From Kevin Kempter
Subject Re: How to view temp tables
Date
Msg-id 200802210651.02038.kevin@kevinkempterllc.com
Whole thread Raw
In response to Re: How to view temp tables  (Chris <dmagick@gmail.com>)
List pgsql-general
On Thursday 21 February 2008 00:17:56 Chris wrote:
> pc wrote:
> > My php code is creating temporary table named mytemp,but when I run a
> > selec * from mytemp I cannot see the table.How can I see the table
> > from postgresql command prompt?
>
> temp tables are automatically deleted when the connection is closed.
>
> make it a non-temp table :)

Temp tables are also limited in scope to the current session, so if your PHP
process created the temp table, then ONLY your PHP process can see the temp
table (and even then only until a dis-connect occurs)



pgsql-general by date:

Previous
From: Howard Wilkinson
Date:
Subject: Re: Querying the schema for column widths - what syntax do I use?
Next
From: luca.ciciriello@email.it
Date:
Subject: selective backup and restore