Re: Create language syntax is not proper in pg_dumpall and not working using pg_upgrade

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>, Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, tushar <tushar(dot)ahuja(at)enterprisedb(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Create language syntax is not proper in pg_dumpall and not working using pg_upgrade
Date: 2017-07-25 17:44:55
Message-ID: 215f8f07-6d7c-f8c1-1ce9-2753a0a4a7a5@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)anarazel(dot)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(at)sss(dot)pgh(dot)pa(dot)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. *****

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2017-07-25 17:50:08 Re: Create language syntax is not proper in pg_dumpall and not working using pg_upgrade
Previous Message Alvaro Herrera 2017-07-25 17:42:23 Re: More race conditions in logical replication