An engineer is migrating from on-premises PostgreSQL to Cloud SQL for PostgreSQL using pg_dump. Which flags should be used to avoid errors related to roles and privileges when importing into Cloud SQL?
These flags skip owner and ACL settings that may not exist in Cloud SQL.
Why this answer
Cloud SQL does not allow superuser access; --no-owner and --no-acl prevent errors from missing roles or privileges.