Skip to content
Advertisement

Tag: postgresql-11

What is the Array format of pg_copy_from()’s input?

I am attempting to load many CSV files of historical data to a PGSQL server with PHP. I noticed PHP provides a pg_copy_from() function for loading local data into a remote server, but the exact format of the input is vague. The documentation says it expects an array of rows, each row being a delimited string of the values in

Advertisement