Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 1EBD69FB1C6 for ; Tue, 6 Feb 2007 21:37:46 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 75811-04 for ; Tue, 6 Feb 2007 21:37:39 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from mail1.fujitsu.com.au (mail1.fujitsu.com.au [216.14.192.229]) by postgresql.org (Postfix) with ESMTP id A9D269FA22A for ; Tue, 6 Feb 2007 21:37:37 -0400 (AST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail1.fujitsu.com.au (Postfix) with ESMTP id 907CA604C1; Wed, 7 Feb 2007 12:37:34 +1100 (EST) Received: from mail1.fujitsu.com.au ([127.0.0.1]) by localhost (mail1.fujitsu.com.au [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11701-01-60; Wed, 7 Feb 2007 12:37:33 +1100 (EST) Received: from mailfilter1.au.fjanz.com (mailfilter1.au.fjanz.com [137.172.19.78]) by mail1.fujitsu.com.au (Postfix) with ESMTP id D8851604C5; Wed, 7 Feb 2007 12:35:43 +1100 (EST) X-SEF-Processed: 5_0_0_816__2007_02_07_12_35_43 Received: from Unknown [137.172.75.51] by mailfilter1.au.fjanz.com - SurfControl E-mail Filter (5.0.1); Wed, 07 Feb 2007 12:35:43 +1100 Received: from fast.fujitsu.com.au (localhost.localdomain [127.0.0.1]) by fast.fujitsu.com.au (8.13.1/8.13.1) with ESMTP id l171ZHJk003546; Wed, 7 Feb 2007 12:35:18 +1100 Received: from fast.fujitsu.com.au (root@localhost) by fast.fujitsu.com.au (8.13.1/8.13.1/Submit) with ESMTP id l171ZHOI003545; Wed, 7 Feb 2007 12:35:17 +1100 Received: from there (unknown 137.172.75.153) by fast.fujitsu.com.au (Scalix SMTP Relay 10.0.1.3) via ESMTP; Wed, 07 Feb 2007 12:35:17 +1100 (EST) Date: Thu, 8 Feb 2007 10:36:44 +1100 From: "FAST PostgreSQL" Reply-To: "FAST PostgreSQL" To: Tom Lane , Andrew Dunstan Cc: Neil Conway , pgsql-patches@postgresql.org Message-ID: <13067.10381170812117.fast.fujitsu.com.au@MHS> In-Reply-To: <482.1169652329@sss.pgh.pa.us> References: <12753.10901169180733.fast.fujitsu.com.au@MHS> References: <45B76AE7.3090308@dunslane.net> References: <482.1169652329@sss.pgh.pa.us> Subject: Re: [pgsql-patches] pg_get_domaindef x-scalix-Hops: 1 Organization: FAST X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-Disposition: inline X-Virus-Scanned: by amavisd-new at mail1.fujitsu.com.au X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.294 tagged_above=0 required=5 tests=AWL, BAYES_00, DATE_IN_FUTURE_12_24, UNPARSEABLE_RELAY X-Spam-Level: X-Archive-Number: 200702/88 X-Sequence-Number: 508 On Thu, 25 Jan 2007 02:25, Tom Lane wrote: > Andrew Dunstan writes: > > FAST PostgreSQL wrote: > >> Please find attached the patch with modifications > > > > are you proposing to implement the other functions in this TODO item > > (pg_get_acldef(), pg_get_typedefault(), pg_get_attrdef(), > > pg_get_tabledef(), pg_get_functiondef() ) ? > > I haven't entirely understood the use case for any of these. It's not Any consensus on these functions? If we decide against having these then its better to remove them from the TODO list temporarily/permanently......... Rgds, Arul Shaji > pg_dump, for a number of reasons: one being that pg_dump still has to > support older backend versions, and another being that every time we > let backend SnapshotNow functions get involved, we take another hit to > pg_dump's claim to produce a consistent MVCC snapshot. > > But my real objection is: do we really want to support duplicative code > in both pg_dump and the backend? Updating pg_dump is already a major > PITA whenever one adds a new feature; doubling that work isn't > attractive. (And it'd be double, not just a copy-and-paste, because of > the large difference in the operating environment.) So I want to hear a > seriously convincing use-case that will justify the maintenance load we > are setting up for ourselves. "Somebody might want this" is not > adequate. > > Perhaps a better area of work would be the often-proposed refactoring of > pg_dump into a library and driver program, wherein the library could > expose individual functions such as "fetch the SQL definition of this > object". Unfortunately, that'll be a huge project with no payoff until > the end... > > regards, tom lane This is an email from Fujitsu Australia Software Technology Pty Ltd, ABN 27 003 693 481. It is confidential to the ordinary user of the email address to which it was addressed and may contain copyright and/or legally privileged information. No one else may read, print, store, copy or forward all or any of it or its attachments. If you receive this email in error, please return to sender. Thank you. If you do not wish to receive commercial email messages from Fujitsu Australia Software Technology Pty Ltd, please email unsubscribe@fast.fujitsu.com.au