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

From Nick Hajek
Subject 8.0.0 beta 2, void type
Date
Msg-id ci75uu$13f1$1@news.hub.org
Whole thread Raw
Responses Re: 8.0.0 beta 2, void type  (Tom Lane <tgl@sss.pgh.pa.us>)
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.  This worked fine in 7.4.x but
when executed
            in 8 generates a "variable has pseudo-type void" error.  Is this
a bug or a
            change in functionality?  Is there a workaround short of
rewritting all
            functions to return a non-void value?

            thanks,

            Nick






pgsql-general by date:

Previous
From: Bruno Wolff III
Date:
Subject: Re: Firewall Security Requirements for Postgresql Access
Next
From: "Karl O. Pinc"
Date:
Subject: Referencing multiple values returned to a plpgsql function - Was: Re: Returning multiple values (but one row) in plpgsql