Re: pg_upgrade issues

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: pg_upgrade issues
Дата
Msg-id 20190927175334.GL31412@momjian.us
обсуждение исходный текст
Ответ на pg_upgrade issues  (Dave Cramer <davecramer@gmail.com>)
Список pgsql-hackers
On Mon, Sep  9, 2019 at 10:58:02AM -0400, Dave Cramer wrote:
> pgjdbc has a bug report which is as follows:
> 
> The database has a table that has a description and a constraint.
> The constraint also has a description.
> 
> somehow the constraint and the table end up with the same OID's after
> pg_upgrade. 
> 
> My understanding of pg_upgrade suggests that shouldn't happen ? I realize oids
> are not guaranteed to be unique, but this seems to be quite a coincidence.

Uh, the table and the table constraint have the same pg_description oid?
pg_upgrade just restores the pg_description descriptions and doesn't
modify them.  Do you get an error on restore because of the duplicate
pg_description oids?

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

+ As you are, so once was I.  As I am, so you will be. +
+                      Ancient Roman grave inscription +



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

Предыдущее
От: David Steele
Дата:
Сообщение: Document recovery_target_action behavior?
Следующее
От: Antonin Houska
Дата:
Сообщение: Re: Attempt to consolidate reading of XLOG page