Re: Use of RETURN in pl/pgsql function

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jeff Eckermann <jeckermann(at)verio(dot)net>
Cc: "'pgsql-sql(at)postgresql(dot)org'" <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Use of RETURN in pl/pgsql function
Date: 2001-02-07 20:37:07
Message-ID: 9960.981578227@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Jeff Eckermann <jeckermann(at)verio(dot)net> writes:
> I'll be hornswoggled: that works.
> I hadn't expected a problem, simply because I knew the range in advance:

Odd. Maybe there is a compile-time, rather than run-time, check in
plpgsql for falling off the end without a RETURN? I haven't looked ...

regards, tom lane

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Christopher Sawtell 2001-02-07 22:00:42 Re: [SQL] Re: SQL Join - MySQL/PostgreSQL difference?
Previous Message Jeff Eckermann 2001-02-07 20:16:46 RE: Use of RETURN in pl/pgsql function