X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id F180D9DC82D for ; Tue, 20 Dec 2005 10:52:31 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 88901-07 for ; Tue, 20 Dec 2005 10:52:35 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.207]) by postgresql.org (Postfix) with ESMTP id BA8319DC862 for ; Tue, 20 Dec 2005 10:52:29 -0400 (AST) Received: by wproxy.gmail.com with SMTP id 57so1274760wri for ; Tue, 20 Dec 2005 06:52:34 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=AtDrmTubytMzjuAb4NK3mD2N3pAxPN+amhzTZl9gYr0SR9hDld9X1oawZhNAhCZI0Mb8auwC6tJowfLO4xJHa3BvoSe6Q2PGMm69uu6jc2AoarU1k6GzRuFqipR8d1Fl/2Q7VXzcMdU5zqPro8WUqYh7fkYg7ui4Nk5AQ+GiYB0= Received: by 10.54.121.13 with SMTP id t13mr810115wrc; Tue, 20 Dec 2005 06:52:34 -0800 (PST) Received: by 10.54.98.6 with HTTP; Tue, 20 Dec 2005 06:52:34 -0800 (PST) Message-ID: Date: Tue, 20 Dec 2005 09:52:34 -0500 From: Jaime Casanova To: Michael Burke Subject: Re: Sub-query as function argument Cc: pgsql-sql@postgresql.org In-Reply-To: <200512200942.51624.michael@engtech.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <200512200942.51624.michael@engtech.ca> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.087 required=5 tests=[AWL=0.087] X-Spam-Score: 0.087 X-Spam-Level: X-Archive-Number: 200512/176 X-Sequence-Number: 23718 On 12/20/05, Michael Burke wrote: > Is it possible to execute a SELECT query as an argument to a function? > have you tried? -- regards, Jaime Casanova (DBA: DataBase Aniquilator ;)