Page 1 of 1

Use export_objects() to export more than one object?

Posted: Fri Sep 11, 2015 3:07 pm
by Brett
Hello,

Being that that the function to export objects is plural (export_objects) I thought we would be able to export more than one object at a time.

I tried this:

Code: Select all

dbadmin=> select export_objects('','table1', 'table2');
ERROR 3680:  Invalid input syntax for boolean: "table2"
No luck :x

Re: Use export_objects() to export more than one object?

Posted: Fri Sep 11, 2015 6:20 pm
by NorbertKrupa
The use specifies using a comma-delimited list:

Code: Select all

SELECT EXPORT_OBJECTS('', 'public.inventory_fact,public.warehouse_dimension');
Documentation

Re: Use export_objects() to export more than one object?

Posted: Sun Sep 13, 2015 12:15 am
by Brett
Hmm. I read that doc several times in the past and think I forgot the syntax :oops: Thanks for your help in reminding me!