Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id CB9389FB2A6 for ; Tue, 20 Feb 2007 18:30:47 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 35840-07 for ; Tue, 20 Feb 2007 18:30:31 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from community1.commandprompt.com (host-254.commandprompt.net [207.173.203.254]) by postgresql.org (Postfix) with ESMTP id 552D59FB4B6 for ; Tue, 20 Feb 2007 18:30:40 -0400 (AST) Received: from [192.168.27.150] (unknown [12.38.10.127]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by community1.commandprompt.com (Postfix) with ESMTP id B5E471A38C5; Tue, 20 Feb 2007 14:30:38 -0800 (PST) Message-ID: <45DB768D.3030100@dunslane.net> Date: Tue, 20 Feb 2007 17:30:37 -0500 From: Andrew Dunstan User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.0.9) Gecko/20070102 Fedora/1.0.7-0.5.fc5 SeaMonkey/1.0.7 MIME-Version: 1.0 To: Bruce Momjian CC: Tom Lane , FAST PostgreSQL , Neil Conway , PostgreSQL-development Subject: Re: [pgsql-patches] pg_get_domaindef References: <200702202210.l1KMAjE12158@momjian.us> In-Reply-To: <200702202210.l1KMAjE12158@momjian.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200702/1149 X-Sequence-Number: 98702 Bruce Momjian wrote: > I always felt is was better for us to have server functions that return > schema-specific data rather than require every application to define its > own functions. I realize they are duplicated in pg_dump, but even if we > made an external library that pg_dump could share with applications, > would it only be available to C applications? That seems quite > limiting. > I don't think so. I imagine that the maintainers of DBD::Pg and phppgadmin, for example, would be very likely to expose them. And I can certainly imagine using/exposing them in some psql slash commands. cheers andrew