> PERFORM works only in plpgsql, Peter wrote a pl/sql-function...
>
Oups, sorry! I missed the point.
---(end of broadcast)---
TIP 4: Have you searched our list archives?
http://archives.postgresql.org
Peter Eisentraut <[EMAIL PROTECTED]> 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
chec
am Mon, dem 02.04.2007, um 8:52:09 -0400 mailte Daniel Caune folgendes:
> > 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?
> >
>
> PERFORM
PERFORM works only in
> 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?
>
PERFORM
---(end of broadcast)---
TIP 2: Don't 'kill -9' the postmaster
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?
E.g.,
CREATE FUNCTION foo (a int, b int) RETURNS void
LANGUAGE plpgsql
AS $$ do important things $$;
CREATE FUNCT