Search Postgresql Archives

Calling Functions With OUT paramaters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a function definited as such:

 

CREATE OR REPLACE FUNCTION address_pkg.parse_zip(IN cpostal character varying, OUT czip character varying, OUT czip4 character varying) LANGUAGE plpgsql;

 

 

How does one call this from another plpgsql function? Currently, I am using something of the form:

 

SELECT * INTO cZip, cZip4 FROM Address_pkg.Parse_Zip(postal_code);

 

But, I am not a big fan of this. Is there another way?

 

 


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux