Re: Fwd: [BUGS] BUG #14247: COMMENT is restored on wrong database

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: Fwd: [BUGS] BUG #14247: COMMENT is restored on wrong database
Дата
Msg-id CAMsr+YGkEy=GvgA6BYpeVCeD53jobn9cNXpdLEU0P56TiMvKfQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Fwd: [BUGS] BUG #14247: COMMENT is restored on wrong database  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-hackers
On 5 August 2016 at 05:03, David G. Johnston <david.g.johnston@gmail.com> wrote:
 
I'm all for an elegant solution here though at some point having a working solution now beats waiting for someone to willingly dive more deeply into pg_dump.  I too seem to recall previous proposals for COMMON ON CURRENT DATABASE yet here we are...


SECURITY LABEL ... ON CURRENT DATABASE    is needed too, and has caused real-world pain.

I tend to agree that adding and using ... ON CURRENT DATABASE is worthwhile now. It's guaranteed to be at least as correct as what pg_dump emits now.

We do have a horrible mess with how pg_dump handles database level properties, but I'd rather not try to deal with that at the same time, get into a long discussion and land up fixing nothing.



--
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Heap WARM Tuples - Design Draft
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: New version numbering practices