N
Neon13mo ago
ratty-blush

Migrating from Neon project into another

I'm seeing an error like this:
ALTER DEFAULT PRIVILEGES FOR ROLE cloud_admin IN SCHEMA public GRANT SELECT,INSERT,REFERENCES,DELETE,TRIGGER,TRUNCATE,UPDATE ON TABLES TO neon_superuser WITH GRANT OPTION;
ALTER DEFAULT PRIVILEGES FOR ROLE cloud_admin IN SCHEMA public GRANT SELECT,INSERT,REFERENCES,DELETE,TRIGGER,TRUNCATE,UPDATE ON TABLES TO neon_superuser WITH GRANT OPTION;
This part seems like a something I don't necessarily want/need to migrate over. How do I work around this issue?
2 Replies
ratty-blush
ratty-blushOP13mo ago
Neon
Migrate data from Postgres with pg_dump and pg_restore - Neon Docs
This topic describes migrating data from one Postgres database to another using the pg_dump and pg_restore. Avoid using pg_dump over a pooled connection string (see PgBouncer issues 452 & 976 for deta...
ratty-blush
ratty-blushOP13mo ago
The non-fatal error still exists with --no-owner being set

Did you find this page helpful?