Re: SELECT INTO TABLE busted?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: SELECT INTO TABLE busted?
Дата
Msg-id 199902050527.AAA27385@candle.pha.pa.us
обсуждение исходный текст
Ответ на SELECT INTO TABLE busted?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Have you done a fresh initdb recently?

> I've been seeing the following behavior with the CVS sources for the
> last several days:
> 
> $ psql regression
> regression=> SELECT * INTO TABLE ramp   FROM road  ;
> SELECT
> regression=> \d ramp
> Couldn't find table ramp!
> regression=> SELECT * INTO TABLE ramp   FROM road  ;
> ERROR:  ramp relation already exists
> regression=> SELECT * FROM ramp ;
> < works fine, produces plenty of output... >
> 
> If you exit psql and start a new session, "ramp" has disappeared
> entirely.  This is causing the create_view regression test to fail,
> since it depends on a table made like this in a prior test.
> 
> My guess is that this is an unwanted side effect of the "temp table"
> code.  Is anyone else seeing the same, or am I looking for a
> platform-specific bug?  (gcc 2.7.2.2 on HPUX 9.03, for the record.)
> 
>             regards, tom lane
> 


--  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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: SELECT INTO TABLE busted?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: SELECT INTO TABLE busted?