Re: [HACKERS] Another TEMP table trick - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] Another TEMP table trick
Date
Msg-id 199901282332.SAA12890@candle.pha.pa.us
Whole thread Raw
In response to Another TEMP table trick  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-hackers
I don't know how I posted this, but it is wrong.  I have added the
missing lines.

> test=> create table test (x int);
> CREATE
> test=> insert into test values (1);
> INSERT 
> test=> create temp table test (x int);  <--
> CREATE                                  <--
> test=> insert into test values (2);
> INSERT 19787 1
> test=> select * from test;
> x
> -
> 2
> (1 row)
> 
> test=> drop table test;
> DROP
> test=> select * from test;
> x
> -
> 1
> (1 row)
> 
> test=> drop table test;
> DROP
> 
> -- 
>   Bruce Momjian                        |  http://www.op.net/~candle
>   maillist@candle.pha.pa.us            |  (610) 853-3000
>   +  If your life is a hard drive,     |  830 Blythe Avenue
>   +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
> 
> 


--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Another TEMP table trick
Next
From: Patrick Verdon
Date:
Subject: Postmaster dies with many child processes (spinlock/semget failed)