Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 68E9A1337B92 for ; Wed, 2 Feb 2011 11:31:35 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 50731-09 for ; Wed, 2 Feb 2011 15:31:30 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id E97581337B6E for ; Wed, 2 Feb 2011 11:31:27 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p12FSuCx020615; Wed, 2 Feb 2011 10:28:56 -0500 (EST) To: Steve White cc: Robert Haas , Kevin Grittner , pgsql-bugs@postgresql.org Subject: Re: Feature request: include script file into function body In-reply-to: <20110202111808.GA21282@cashmere.aip.de> References: <20110201112120.GA1327@cashmere.aip.de> <26900.1296576145@sss.pgh.pa.us> <20110201164422.GA3023@cashmere.aip.de> <4D47EB12020000250003A0EE@gw.wicourts.gov> <20110201185004.GA7511@cashmere.aip.de> <4D480622020000250003A10C@gw.wicourts.gov> <1191.1296588973@sss.pgh.pa.us> <20110201195915.GA8252@cashmere.aip.de> <4D481423020000250003A123@gw.wicourts.gov> <20110202111808.GA21282@cashmere.aip.de> Comments: In-reply-to Steve White message dated "Wed, 02 Feb 2011 12:18:08 +0100" Date: Wed, 02 Feb 2011 10:28:56 -0500 Message-ID: <20614.1296660536@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201102/33 X-Sequence-Number: 29305 Steve White writes: > But the :'yadda'; produces an error--it seems the variable yadda isn't > expanded in the presence of the quotes. Apparently you're using a pre-9.0 psql. regards, tom lane