Relative Content

Tag Archive for postgresqlpgloader

Loading binary data into PostgreSQL from CSV-file using pgLoader

I have CSV-file containing binary data (dumped from SQL Server using bcp utility);
Data in the file looks like this: FFDO.
I expect this data in the table will look like this: xFFD0,
but instead pgLoader loaded it as x46464430,
encoding every character as one byte.