Re: [HACKERS] Create language syntax is not proper in pg_dumpall andnot working using pg_upgrade

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: [HACKERS] Create language syntax is not proper in pg_dumpall andnot working using pg_upgrade
Дата
Msg-id 215f8f07-6d7c-f8c1-1ce9-2753a0a4a7a5@commandprompt.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Create language syntax is not proper in pg_dumpall andnot working using pg_upgrade  (Andres Freund <andres@anarazel.de>)
Ответы Re: [HACKERS] Create language syntax is not proper in pg_dumpall and not working using pg_upgrade  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 07/25/2017 10:24 AM, Andres Freund wrote:
> On 2017-07-25 13:18:25 -0400, Robert Haas wrote:
>> On Tue, Jul 25, 2017 at 1:13 PM, Andres Freund <andres@anarazel.de> wrote:
>>> On 2017-07-25 13:10:11 -0400, Robert Haas wrote:
>>>> On Tue, Jul 25, 2017 at 1:06 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>>>>>> Is this assumption, like, documented someplace?

> Yes, and?  We can try to address countless intentionally unsupported
> edge-cases, but it's going to cost code, complexity and time. And very
> likely it's going to add hard to find, test and address bugs. pg_dump is
> complicated as is, I don't think trying to address every conceivable
> weirdness is a good idea. There's plenty more fundamental things wrong
> (e.g. DDL concurrent with a dump sometimes breaking that dump).
> 
> I'm not sure what you're arguing for here.

Isn't the simplest solution just to actually document this? Code is not 
documentation except for those reading code. End users, sql developers, 
DBAs etc, should never have to open doxygen.postgresql.org to figure 
this stuff out.

JD


-- 
Command Prompt, Inc. || http://the.postgres.company/ || @cmdpromptinc

PostgreSQL Centered full stack support, consulting and development.
Advocate: @amplifypostgres || Learn: https://pgconf.us
*****     Unless otherwise stated, opinions are my own.   *****



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: [HACKERS] More race conditions in logical replication
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Create language syntax is not proper in pg_dumpall and not working using pg_upgrade