Thread: Output of function into a file

Output of function into a file

From
karthickv@hclp.com (karthick v)
Date:
Hi,

I am writing a small function to manipulate records in multiple
tables.  Since the function cannot return more than one value, I would
like to get all the outputs of the queries and append them into a text
file.

Is there any way to do it inside the function. I came across many
postings which tell me how to use it in pgsql but not inside the
function.

I would be very glad if someone could help me

Thanks in advance

karthick v