logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: "record" datatype - plpgsql: msg#00564

Subject: Re: "record" datatype - plpgsql
Brian Knox <laotse@xxxxxxx> writes:
> What I was asking is if there's anyway to use
> the NEW record to get a list of the columnnames in it without knowing them
> beforehand.

Not in plpgsql ... and if you did, you couldn't do anything useful with
the names (like access the fields) anyway.  I believe you can do it in
pltcl though.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to majordomo@xxxxxxxxxxxxxx)




Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>