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