I have a unique need.
I need to export script to export each row of a postgres view to individual files.
OS: Red hat 9
Language: Shell script or java
Column A - is used for the filename.
Column B - is the contents of the file.
I am not a linux programmer, I focus on database design.I assume the script is like this:
Open array
for each row in view
open file where name equals column a
contents equals column b
close file
next
close array
Any help in this matter is appreciated.
I need to export script to export each row of a postgres view to individual files.
OS: Red hat 9
Language: Shell script or java
Column A - is used for the filename.
Column B - is the contents of the file.
I am not a linux programmer, I focus on database design.I assume the script is like this:
Open array
for each row in view
open file where name equals column a
contents equals column b
close file
next
close array
Any help in this matter is appreciated.