2 edited title
| link

Is it possible to write a function in postgresql which directly loads thewrites its parameters to a text file?

1
source | link

Is it possible to write a function in postgresql which directly loads the its parameters to a text file?

I have a text file which contains some rows of data,say 10 rows. Each row has 5 columns, each of the type varchar. Is it possible to write a function in postgresql, which takes its parameters as 5 varchar values, and appends those values to that file directly?