Francisco Reyes <lists@natserv.com> writes:
> How does one now create a database and make sure that everything inside is
> owned by a particular user?
System objects are not, and should not be, owned by any nonprivileged
user. I fail to see what your complaint is.
> The line from the sql file that is failing, a dump, is
> SELECT pg_catalog.setval('invoicesdetails_invoicesdetailsid_seq', 18,
> true);
You have not given us any context to interpret this report in, but
I do not think it has anything to do with the ownership of the public
schema.
regards, tom lane