Re: BUG #1956: Plpgsql top-level DECLARE does not share scope

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: "Karl O(dot) Pinc" <kop(at)meme(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #1956: Plpgsql top-level DECLARE does not share scope
Date: 2005-10-13 15:36:55
Message-ID: 22684.1129217815@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> Karl O. Pinc wrote:
>> Fair enough. At the same time it sure would be nice if
>> plpgsql actually compiled (and parsed SQL) at
>> function definition time, even when the result is thrown away.

> 8.0 has this improvement:

> * Do minimal syntax checking of PL/pgSQL functions at creation time (Tom)
> This allows us to catch simple syntax errors sooner.

8.1 does more in that line (thanks to Neil).

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2005-10-13 15:42:52 Re: building Postgresql 7.3.10 on Mac OS X 10.4
Previous Message Benjamin Reed 2005-10-13 15:24:00 Re: building Postgresql 7.3.10 on Mac OS X 10.4