Re: Wanna help PostgreSQL - Mailing list pgsql-hackers

From Merlin Moncure
Subject Re: Wanna help PostgreSQL
Date
Msg-id CAHyXU0xzs-ow4qyP+Rx8pP_dhtUeReeo3yzB7CmwKF=fv0VDBA@mail.gmail.com
Whole thread Raw
In response to Re: Wanna help PostgreSQL  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Wanna help PostgreSQL  (Andres Freund <andres@2ndquadrant.com>)
Re: Wanna help PostgreSQL  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Wed, May 14, 2014 at 9:44 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> The reason that that project has gone untouched for upwards of ten years
> is that it's not just a large coding project, but involves a lot of
> complex API design with uncertain goals.  It's not very clear what
> features people would want from a "pg_dump library", though one capability
> that gets mentioned often is the ability to extract the SQL definition
> for a single object.

Personally I'd prefer the creation of definitional SQL be moved out of
pg_dump and into the database proper via something like
'pg_sql_definition(oid)' or something like that.  There are lot of
reasons applications (especially administrative ones like pgadmin and
psql but also end user applications in some cases) would want to do
that and forcing everything through pg_dump et al is awkward.  The
less magic in the external applications the better.

merlin



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: 9.5: UPDATE/DELETE .. ORDER BY .. LIMIT ..
Next
From: Andres Freund
Date:
Subject: Cache invalidation bug in RelationGetIndexAttrBitmap()