pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jeff Eckermann <jeckermann@verio.net>
Cc: 'pgsql-sql@postgresql.org' <pgsql-sql@postgresql.org>
Subject: Re: Use of RETURN in pl/pgsql function
Date: Wed, 07 Feb 2001 15:37:07 -0500
Message-ID: <9960.981578227@sss.pgh.pa.us> (raw)
In-Reply-To: <08CD1781F85AD4118E0800A0C9B8580B0948FF@NEZU>
References: <08CD1781F85AD4118E0800A0C9B8580B0948FF@NEZU>

Jeff Eckermann <jeckermann@verio.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



view thread (5+ messages)  latest in thread

Message-ID: <9960.981578227@sss.pgh.pa.us>
Permalink:  ../9960.981578227@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/9960.981578227@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, jeckermann@verio.net
  Subject: Re: Use of RETURN in pl/pgsql function
  In-Reply-To: <9960.981578227@sss.pgh.pa.us>
  References: <08CD1781F85AD4118E0800A0C9B8580B0948FF@NEZU> <9960.981578227@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