pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: arnaulist@andromeiberica.com
Cc: pgsql-sql@postgresql.org
Subject: Re: help with version checking
Date: Thu, 28 Dec 2006 12:56:27 -0500
Message-ID: <21284.1167328587@sss.pgh.pa.us> (raw)
In-Reply-To: <45940403.4010909@andromeiberica.com>
References: <000001c72aa7$e705f1e0$0b00a8c0@tedy>
	<45940403.4010909@andromeiberica.com>

Arnau <arnaulist@andromeiberica.com> 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



view thread (10+ messages)  latest in thread

Message-ID: <21284.1167328587@sss.pgh.pa.us>
Permalink:  ../21284.1167328587@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/21284.1167328587@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, arnaulist@andromeiberica.com
  Subject: Re: help with version checking
  In-Reply-To: <21284.1167328587@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox