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 - source

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




Efficiency of Scalar UDF vs TVF

Updated July 30, 2018 22:06 PM