[EMAIL PROTECTED] (Bruce Momjian) wrote in message news:<[EMAIL PROTECTED]>... > Yes, see the FAQ. You have to use EXECUTE for temp table access in > functions.
Unfortunately in the 7.2.x version I have available, EXECUTE does not allow "select into". The docs suggests a technique for using a FOR loop to extract information from an EXECUTE, but the technique only works for finite set of expected variables, not for arbitrary values. Any suggestions on how to kludge this issue? It would be of great value to me if there were a way to set and retrieve just one global variable that persists throughout a session, and which can be retrieved from a function. ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly