X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id E332052A5B for ; Thu, 24 Feb 2005 17:50:28 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 51041-01 for ; Thu, 24 Feb 2005 17:50:21 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 0F59052A59 for ; Thu, 24 Feb 2005 17:50:20 +0000 (GMT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j1OHoTXm026048; Thu, 24 Feb 2005 12:50:29 -0500 (EST) To: Richard Huxton Cc: Steve - DND , pgsql-sql@postgresql.org Subject: Re: Junk queries with variables? In-reply-to: <421E0ECA.7090403@archonet.com> References: <421E0ECA.7090403@archonet.com> Comments: In-reply-to Richard Huxton message dated "Thu, 24 Feb 2005 17:28:42 +0000" Date: Thu, 24 Feb 2005 12:50:29 -0500 Message-ID: <26047.1109267429@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.008 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200502/318 X-Sequence-Number: 20428 Richard Huxton writes: > Steve - DND wrote: >> This doesn't seem to be quite what I'm looking for. > Well, if psql vars, prepare or functions don't meet your needs, I'm not > sure we've got anything that will. ecpg is another possible answer. > Have you got a specific example where these don't suit your needs? I guess the real question is: in what context/language are you expecting to be able to manipulate these variables? regards, tom lane