Re: Calling void functions - Mailing list pgsql-sql

From Tom Lane
Subject Re: Calling void functions
Date
Msg-id 10900.1175532266@sss.pgh.pa.us
Whole thread Raw
In response to Calling void functions  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-sql
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


pgsql-sql by date:

Previous
From: Andrew Sullivan
Date:
Subject: Re: Update problem.
Next
From: "sql4-en.narod.ru"
Date:
Subject: SQL4. I ask you to help in development (or critic).