Re: SELECT INTO TABLE busted?
От | Bruce Momjian |
---|---|
Тема | Re: SELECT INTO TABLE busted? |
Дата | |
Msg-id | 199902050526.AAA27375@candle.pha.pa.us обсуждение исходный текст |
Ответ на | SELECT INTO TABLE busted? (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: SELECT INTO TABLE busted?
|
Список | pgsql-hackers |
> 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.) Very likely the TEMP table stuff, though I think the changes only take affect when you do a temp table. I am passing the create_view regression test here. -- 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 по дате отправления: