Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VE2Em-0007Oq-QZ for pgsql-hackers@arkaria.postgresql.org; Mon, 26 Aug 2013 19:14:05 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VE2Em-0007SI-5i for pgsql-hackers@arkaria.postgresql.org; Mon, 26 Aug 2013 19:14:04 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VE2Ek-0007S9-Nf for pgsql-hackers@postgresql.org; Mon, 26 Aug 2013 19:14:02 +0000 Received: from acidenitrix.villemain.org ([91.121.90.165]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VE2Ed-0000HV-P0 for pgsql-hackers@postgresql.org; Mon, 26 Aug 2013 19:14:02 +0000 Received: from [89.157.16.54] (helo=Dimitris-MacBook-Air.local) by acidenitrix.villemain.org with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1VE2EY-0005oO-ML; Mon, 26 Aug 2013 21:13:50 +0200 From: Dimitri Fontaine To: Andres Freund Cc: Josh Berkus , Fujii Masao , Michael Paquier , Jim Nasby , Greg Stark , Hannu Krosing , Tom Lane , Alvaro Herrera , PostgreSQL-development Subject: Re: pg_system_identifier() Organization: 2ndQuadrant References: <20130822162019.GC10710@eldon.alvh.no-ip.org> <20130822163059.GI17006@awork2.anarazel.de> <15653.1377189456@sss.pgh.pa.us> <52177AD5.5010809@2ndQuadrant.com> <521A8985.2040509@nasby.net> <521B8C1E.9000808@agliodbs.com> <20130826184546.GB5464@awork2.anarazel.de> User-Mail-Address: dimitri@2ndQuadrant.fr Date: Mon, 26 Aug 2013 21:13:49 +0200 In-Reply-To: <20130826184546.GB5464@awork2.anarazel.de> (Andres Freund's message of "Mon, 26 Aug 2013 20:45:46 +0200") Message-ID: User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Andres Freund writes: > If anything but the proposed feature, it should be an SRF - passing in > text parameters isn't very discoverable. And I can't imagine where an > SRF would have too high overhead. The two existing extensions doing that are SRFs, yes. One of them has been made by our committer Joe Conway. Let's please have a look how to best include existing code into core. Regards, -- Dimitri Fontaine http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers