pgquarrel
pgquarrel copied to clipboard
Assign sequence to table after setting table owner
If table and sequence both are owned by the same user then sequence should be assigned to table after owner was already set on table. Otherwise psql will complain that sequence must be owned by the same user as table.