You could submit a
CREATE TABLE newdb.tabname AS olddb.tabname WITH DATA;
for each table. This will copy including indices, but not Foreign Keys and SET/MULTISET.
Another way is backup olddb and restore into newdb using the COPY command.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.