Re: show() function

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Joe Conway <mail(at)joeconway(dot)com>, pgsql-patches(at)postgresql(dot)org
Subject: Re: show() function
Date: 2002-06-26 22:34:38
Message-ID: 16419.1025130878@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> Is there anything fundamentally difficult with supporting "PROCEDURE
> foo()" as equivalent with "FUNCTION foo() RETURNS opaque" and "CALL foo()"
> as equivalent with "SELECT foo()" and throw away the result.

I'd like to see us *not* overload "opaque" with yet another meaning;
see past rants on subject. But as long as there was a distinguishable
representation of "returns void" in pg_proc, I'd see no problem with the
above.

plpgsql presently spells "CALL" as "PERFORM"; should we stick with that
precedent?

regards, tom lane

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Christopher Kings-Lynne 2002-06-27 01:40:28 Re: Changes in /contrib/fulltextindex
Previous Message Bruce Momjian 2002-06-26 21:59:39 Re: several minor cleanups