Re: 8.0.0 beta 2, void type - Mailing list pgsql-general

From Nick Hajek
Subject Re: 8.0.0 beta 2, void type
Date
Msg-id ci9f1q$mjm$1@news.hub.org
Whole thread Raw
In response to 8.0.0 beta 2, void type  ("Nick Hajek" <nhajek@vishay.com>)
List pgsql-general
> > I have moved a DB from 7.4.3 to 8.0.0b2 for testing and am
> > experiencing some problems with the void type within pl functions.
> > I am calling a function which returns a void from within another
> > function and have defined a variable of type void to catch the
> > returned value.
>
> Er, why would you want to catch a void return value?  Seems like
> you ought to use a PERFORM statement.
>
> regards, tom lane
>
I didn't know about PERFORM so was just doing what I discovered would work.
Thanks for the tip.

Nick





pgsql-general by date:

Previous
From: Paramveer.Singh@trilogy.com
Date:
Subject: schema level variables
Next
From: Tom Lane
Date:
Subject: Re: fedora core2 pgaccess