Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 50F069F9F46 for ; Thu, 28 Dec 2006 13:56:45 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 46526-02 for ; Thu, 28 Dec 2006 13:56:29 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id E1BB89FA097 for ; Thu, 28 Dec 2006 13:56:29 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id kBSHuRWR021285; Thu, 28 Dec 2006 12:56:27 -0500 (EST) To: arnaulist@andromeiberica.com cc: pgsql-sql@postgresql.org Subject: Re: help with version checking In-reply-to: <45940403.4010909@andromeiberica.com> References: <000001c72aa7$e705f1e0$0b00a8c0@tedy> <45940403.4010909@andromeiberica.com> Comments: In-reply-to Arnau message dated "Thu, 28 Dec 2006 18:50:59 +0100" Date: Thu, 28 Dec 2006 12:56:27 -0500 Message-ID: <21284.1167328587@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/179 X-Sequence-Number: 27135 Arnau writes: > I don't want, if it's possible, to create a function. Unlike Oracle, PG makes a strong distinction between SQL and programmable languages (including plpgsql). You can't write plpgsql code without putting it into a function. regards, tom lane