Re: pg_dump broken for non-super user

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: pg_dump broken for non-super user
Дата
Msg-id CANP8+j+CqU9vCqPV3m34oi8-C-0N4+PjfvkurAfpTo5sXZ4o8w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pg_dump broken for non-super user  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pg_dump broken for non-super user  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers
On 4 May 2016 at 16:45, Tom Lane <tgl@sss.pgh.pa.us> wrote:
 
Why is it that we need to lock a table at all if we're just going to dump
its ACL? 

We don't, but surely that's the wrong question.

If we don't lock it then we will have a inconsistent dump that will fail later, if dumped while an object is being dropped.
Do we want an inconsistent dump?

For what reason are we changing existing behaviour? There is no bug here, as Stephen explained.

So this is a behaviour change after freeze with uncertain purpose.

--
Simon Riggs                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Add TAP tests for pg_dump
Следующее
От: Masahiko Sawada
Дата:
Сообщение: Re: Reviewing freeze map code