pg_dump: Refactor code that constructs ALTER ... OWNER TO commands

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pg_dump: Refactor code that constructs ALTER ... OWNER TO commands
Дата
Msg-id 0a00f923-599a-381b-923f-0d802a727715@enterprisedb.com
обсуждение исходный текст
Ответы Re: pg_dump: Refactor code that constructs ALTER ... OWNER TO commands  (Corey Huinker <corey.huinker@gmail.com>)
Список pgsql-hackers
Avoid having to list all the possible object types twice.  Instead, only 
_getObjectDescription() needs to know about specific object types.  It 
communicates back to _printTocEntry() whether an owner is to be set.

In passing, remove the logic to use ALTER TABLE to set the owner of 
views and sequences.  This is no longer necessary.  Furthermore, if 
pg_dump doesn't recognize the object type, this is now a fatal error, 
not a warning.
Вложения

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Crash after a call to pg_backup_start()
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Question about savepoint level?