Until now I used Oracle to store xml file in blob data type column.
Is there any option in Vertica to copy xml file into binary column?
I saw there is varbinary data type but, I haven't succeeded to load this file into one row in this column.
If someone is familiar with this process in PostgreSQL can maybe be helpful (share your knowledge)
Best Answer
As you asked for it: here is a Postgres solution if you can upload all the files to the Postgres server (or at least a directory accessible from there).
This must be run as the superuser (
postgres
) because the functionspg_ls_dir()
andpg_read_binary_file()
have restricted access (for security reasons)