Re: proposal: more practical view on function's source code

Dimitri Fontaine <dfontaine@hi-media.com>

From: Dimitri Fontaine <dfontaine@hi-media.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Pavel Stehule <pavel.stehule@gmail.com>, Craig Ringer <craig@postnewspapers.com.au>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2010-03-21T19:01:37Z
Lists: pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> writes:
> ERROR:  syntax error at end of input
> LINE 3:   return 1/;
>                    ^
> What I think is called for is extending that approach to run-time
> errors.  plpgsql doesn't make any particular effort to provide that
> right now, but it easily could IMO.  Pavel's proposal is only of use to
> people using psql, which is not everyone --- and it seems pretty awkward
> to me even for psql users.

Oh yes, that would be nice to have too :)
-- 
dim