plpgsql -record in -record out - Mailing list pgsql-hackers

From Adam Walczykiewicz
Subject plpgsql -record in -record out
Date
Msg-id 200001180204.SAA10563@www.geocrawler.com
Whole thread Raw
List pgsql-hackers
This message was sent from Geocrawler.com by "Adam Walczykiewicz" <adam.walczykiewicz@multiuser.com.pl>
Be sure to reply to that address.

Hi
Is possible to send a record(more than 8 fields) 
to the function
in plpgsql then modified it and send back???
I've tried:... 
CREATE FUNCTION modrec(rec_client) RETURNS 
rec_client)
(...)
and call itSELECT modrec
(name::rec_client,age::rec_client..._)

but it failed. The only method I found
is to send record as a text and exctract it inside
,modified and send back as a text.
Thanks for any sugesstions.
Adam


Geocrawler.com - The Knowledge Archive


pgsql-hackers by date:

Previous
From: "Hiroshi Inoue"
Date:
Subject: How to ignore system indexes
Next
From: Thomas Lockhart
Date:
Subject: Re: [HACKERS] Re: [COMMITTERS] pgsql/src/include/catalog (pg_type.h)