From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-sql@postgresql.org
Subject: Re: Calling void functions
Date: Mon, 02 Apr 2007 12:44:26 -0400
Message-ID: <10900.1175532266@sss.pgh.pa.us> (raw)
In-Reply-To: <200704021002.26282.peter_e@gmx.net>
References: <200704021002.26282.peter_e@gmx.net>
Peter Eisentraut <peter_e@gmx.net> writes:
> I'm informed that the last statement of a function that returns void cannot be
> a SELECT. How else is one supposed to call another function which also
> returns void?
Hmm, seems like the best answer is to rejigger the order of the tests in
check_sql_fn_retval. I think that logic was designed before we had an
idea of VOID-returning functions.
regards, tom lane
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, peter_e@gmx.net
Subject: Re: Calling void functions
In-Reply-To: <10900.1175532266@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