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

by suvrat   Last Updated October 19, 2019 11:06 AM

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?



Related Questions


Updated June 25, 2018 01:06 AM

Updated July 01, 2015 13:02 PM

Updated July 30, 2018 22:06 PM