Re: bug in 7.4 SET WITHOUT OIDs

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: bug in 7.4 SET WITHOUT OIDs
Дата
Msg-id 40C66FBD.6050501@familyhealth.com.au
обсуждение исходный текст
Ответ на Re: bug in 7.4 SET WITHOUT OIDs  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: bug in 7.4 SET WITHOUT OIDs  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Yep, Tom fixed it good.

Bruce Momjian wrote:

> I can confirm that current CVS handles this OK.
> 
> ---------------------------------------------------------------------------
> 
> Christopher Kings-Lynne wrote:
> 
>>I had a suspicion and it was confirmed:
>>
>>test=# create table oidtest (a int4, unique(oid));
>>NOTICE:  CREATE TABLE / UNIQUE will create implicit index 
>>"oidtest_oid_key" for table "oidtest"
>>CREATE TABLE
>>test=# select oid from oidtest;
>>  oid
>>-----
>>(0 rows)
>>
>>test=# alter table oidtest set without oids;
>>ALTER TABLE
>>test=# select oid from oidtest;
>>ERROR:  column "oid" does not exist
>>test=# \d oidtest
>>ERROR:  cache lookup failed for attribute -2 of relation 765798



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: bug in 7.4 SET WITHOUT OIDs
Следующее
От: Tom Lane
Дата:
Сообщение: Assignment to array elements