Re: Problem when truncate table and get the OID from PQftable

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Problem when truncate table and get the OID from PQftable
Дата
Msg-id 23189.1083127500@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Problem when truncate table and get the OID from PQftable  ("Rodrigo Moreno" <rodrigo.miguel@terra.com.br>)
Список pgsql-bugs
"Rodrigo Moreno" <rodrigo.miguel@terra.com.br> writes:
> After truncate the table, the oid retuned by PQftable/libpq returns the old
> value, and i'm not able to find it in pg_class, because the value of
> pg_class.relfilenode was changed after the truncate.

Why are you matching it against relfilenode?  It is the OID.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: make check regression "test stats" failed
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [ADMIN] INITDB-error - end-of-copy marker error