Re: Refactor pg_dump as a library? - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Refactor pg_dump as a library?
Date
Msg-id 20160414170144.22lunah62qnf53sy@alap3.anarazel.de
Whole thread Raw
In response to Re: Refactor pg_dump as a library?  (Andreas Karlsson <andreas@proxel.se>)
Responses Re: Refactor pg_dump as a library?
List pgsql-hackers
On 2016-04-14 13:16:20 +0200, Andreas Karlsson wrote:
> I am personally not a fan of the pg_get_Xdef() functions due to their heavy
> reliance on the syscache which feels rather unsafe in combination with
> concurrent DDL.

I'm not sure I find that convincing: The state portrayed by the syscache
is th state COPY/SELECT et al will be using.  I think the angle to
attack this is rather to allow blocking 'globally visible' DDL
efficiently and correctly, rather than the hack pg_dump is using right now.

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: Pglogical questions and problems
Next
From: "Joshua D. Drake"
Date:
Subject: Re: Pglogical questions and problems