Re: Duplicate comment on a table

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Duplicate comment on a table
Дата
Msg-id CAKFQuwa_gdR8QLcsWmdtcU0EGwDfDu0ArOw4oJhXc55RFMvCsQ@mail.gmail.com
обсуждение исходный текст
Ответ на Duplicate comment on a table  ("ldh@laurent-hasson.com" <ldh@laurent-hasson.com>)
Список pgsql-bugs
On Wednesday, September 8, 2021, ldh@laurent-hasson.com <ldh@laurent-hasson.com> wrote:

So, there are TWO records in the table pg_catalog.pg_description for a given table. I have no idea how this might have occurred and I know it “survives” a backup/restore. I am not sure how to fix this. It was suggested I vacuum full the table and reset the comment, but that didn’t work:

As Andrew just pointed out on the original JDBC thread OIDs are not global and the driver query doesn’t properly take that into account.  The duplication seen here is actually two different objects with the same OID each having a single comment.

David J.

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

Предыдущее
От: "ldh@laurent-hasson.com"
Дата:
Сообщение: Duplicate comment on a table
Следующее
От: Semab Tariq
Дата:
Сообщение: Re: Technical Support