pgsql: Fix ALTER DEFAULT PRIVILEGES with duplicated objects

2021-01-19 Thread Michael Paquier
Fix ALTER DEFAULT PRIVILEGES with duplicated objects Specifying duplicated objects in this command would lead to unique constraint violations in pg_default_acl or "tuple already updated by self" errors. Similarly to GRANT/REVOKE, increment the command ID after each subcommand processing to allow

pgsql: Fix ALTER DEFAULT PRIVILEGES with duplicated objects

2021-01-19 Thread Michael Paquier
Fix ALTER DEFAULT PRIVILEGES with duplicated objects Specifying duplicated objects in this command would lead to unique constraint violations in pg_default_acl or "tuple already updated by self" errors. Similarly to GRANT/REVOKE, increment the command ID after each subcommand processing to allow

pgsql: Fix ALTER DEFAULT PRIVILEGES with duplicated objects

2021-01-19 Thread Michael Paquier
Fix ALTER DEFAULT PRIVILEGES with duplicated objects Specifying duplicated objects in this command would lead to unique constraint violations in pg_default_acl or "tuple already updated by self" errors. Similarly to GRANT/REVOKE, increment the command ID after each subcommand processing to allow

pgsql: Fix ALTER DEFAULT PRIVILEGES with duplicated objects

2021-01-19 Thread Michael Paquier
Fix ALTER DEFAULT PRIVILEGES with duplicated objects Specifying duplicated objects in this command would lead to unique constraint violations in pg_default_acl or "tuple already updated by self" errors. Similarly to GRANT/REVOKE, increment the command ID after each subcommand processing to allow

pgsql: Fix ALTER DEFAULT PRIVILEGES with duplicated objects

2021-01-19 Thread Michael Paquier
Fix ALTER DEFAULT PRIVILEGES with duplicated objects Specifying duplicated objects in this command would lead to unique constraint violations in pg_default_acl or "tuple already updated by self" errors. Similarly to GRANT/REVOKE, increment the command ID after each subcommand processing to allow

pgsql: Fix ALTER DEFAULT PRIVILEGES with duplicated objects

2021-01-19 Thread Michael Paquier
Fix ALTER DEFAULT PRIVILEGES with duplicated objects Specifying duplicated objects in this command would lead to unique constraint violations in pg_default_acl or "tuple already updated by self" errors. Similarly to GRANT/REVOKE, increment the command ID after each subcommand processing to allow

pgsql: Fix ALTER DEFAULT PRIVILEGES with duplicated objects

2021-01-19 Thread Michael Paquier
Fix ALTER DEFAULT PRIVILEGES with duplicated objects Specifying duplicated objects in this command would lead to unique constraint violations in pg_default_acl or "tuple already updated by self" errors. Similarly to GRANT/REVOKE, increment the command ID after each subcommand processing to allow