Re: regclass, \d command and temp tables - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: regclass, \d command and temp tables
Date
Msg-id 20100810.002521.68318492.t-ishii@sraoss.co.jp
Whole thread Raw
In response to Re: regclass, \d command and temp tables  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> It works for me.  Are you using clean sources?
> 
> regression=# create table t1(i int);
> CREATE TABLE
> regression=# select 't1'::regclass::oid;
>   oid   
> --------
>  127671
> (1 row)
> 
> regression=# create temp table t1(i int, j int);
> CREATE TABLE
> regression=# select 't1'::regclass::oid;
>   oid   
> --------
>  127674
> (1 row)

Oops. Sorry for noise. I accidentaly accessed through pgpool and it load
balanced the SELECT to different PostgreSQL server. Pgpool should have
remebered that temporary tables are created in the session.
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese: http://www.sraoss.co.jp


pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: is syntax columname(tablename) necessary still?
Next
From: "David E. Wheeler"
Date:
Subject: Re: review: psql: edit function, show function commands patch