mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-09 15:43:47 -06:00
Ensure consistent orderings for ACLS when comparing schemas in the schema diff. #5101
This commit is contained in:
parent
e3e0e3db19
commit
545c76a411
@ -32,4 +32,5 @@ FROM
|
||||
) d
|
||||
LEFT JOIN pg_catalog.pg_roles g ON (d.grantor = g.oid)
|
||||
LEFT JOIN pg_catalog.pg_roles gt ON (d.grantee = gt.oid)
|
||||
GROUP BY g.rolname, gt.rolname;
|
||||
GROUP BY g.rolname, gt.rolname
|
||||
ORDER BY grantee;
|
||||
|
@ -32,4 +32,5 @@ FROM
|
||||
) d
|
||||
LEFT JOIN pg_catalog.pg_roles g ON (d.grantor = g.oid)
|
||||
LEFT JOIN pg_catalog.pg_roles gt ON (d.grantee = gt.oid)
|
||||
GROUP BY g.rolname, gt.rolname;
|
||||
GROUP BY g.rolname, gt.rolname
|
||||
ORDER BY grantee;
|
||||
|
@ -32,4 +32,5 @@ FROM
|
||||
) d
|
||||
LEFT JOIN pg_catalog.pg_roles g ON (d.grantor = g.oid)
|
||||
LEFT JOIN pg_catalog.pg_roles gt ON (d.grantee = gt.oid)
|
||||
GROUP BY g.rolname, gt.rolname;
|
||||
GROUP BY g.rolname, gt.rolname
|
||||
ORDER BY grantee;
|
||||
|
@ -32,4 +32,5 @@ FROM
|
||||
) d
|
||||
LEFT JOIN pg_catalog.pg_roles g ON (d.grantor = g.oid)
|
||||
LEFT JOIN pg_catalog.pg_roles gt ON (d.grantee = gt.oid)
|
||||
GROUP BY g.rolname, gt.rolname;
|
||||
GROUP BY g.rolname, gt.rolname
|
||||
ORDER BY grantee;
|
||||
|
@ -44,3 +44,4 @@ FROM
|
||||
LEFT JOIN pg_catalog.pg_roles g ON (d.grantor = g.oid)
|
||||
LEFT JOIN pg_catalog.pg_roles gt ON (d.grantee = gt.oid)
|
||||
GROUP BY g.rolname, gt.rolname
|
||||
ORDER BY grantee
|
||||
|
@ -20,4 +20,5 @@ FROM
|
||||
) b
|
||||
LEFT JOIN pg_catalog.pg_roles g ON (b.grantor = g.oid)
|
||||
LEFT JOIN pg_catalog.pg_roles gt ON (b.grantee = gt.oid)
|
||||
GROUP BY g.rolname, gt.rolname;
|
||||
GROUP BY g.rolname, gt.rolname
|
||||
ORDER BY grantee;
|
||||
|
@ -20,4 +20,5 @@ FROM
|
||||
) b
|
||||
LEFT JOIN pg_catalog.pg_roles g ON (b.grantor = g.oid)
|
||||
LEFT JOIN pg_catalog.pg_roles gt ON (b.grantee = gt.oid)
|
||||
GROUP BY g.rolname, gt.rolname;
|
||||
GROUP BY g.rolname, gt.rolname
|
||||
ORDER BY grantee;
|
||||
|
@ -20,4 +20,5 @@ FROM
|
||||
) b
|
||||
LEFT JOIN pg_catalog.pg_roles g ON (b.grantor = g.oid)
|
||||
LEFT JOIN pg_catalog.pg_roles gt ON (b.grantee = gt.oid)
|
||||
GROUP BY g.rolname, gt.rolname;
|
||||
GROUP BY g.rolname, gt.rolname
|
||||
ORDER BY grantee;
|
||||
|
@ -20,4 +20,5 @@ FROM
|
||||
) b
|
||||
LEFT JOIN pg_catalog.pg_roles g ON (b.grantor = g.oid)
|
||||
LEFT JOIN pg_catalog.pg_roles gt ON (b.grantee = gt.oid)
|
||||
GROUP BY g.rolname, gt.rolname;
|
||||
GROUP BY g.rolname, gt.rolname
|
||||
ORDER BY grantee;
|
||||
|
@ -20,4 +20,5 @@ FROM
|
||||
) b
|
||||
LEFT JOIN pg_catalog.pg_roles g ON (b.grantor = g.oid)
|
||||
LEFT JOIN pg_catalog.pg_roles gt ON (b.grantee = gt.oid)
|
||||
GROUP BY g.rolname, gt.rolname;
|
||||
GROUP BY g.rolname, gt.rolname
|
||||
ORDER BY grantee;
|
||||
|
@ -20,4 +20,5 @@ FROM
|
||||
) b
|
||||
LEFT JOIN pg_catalog.pg_roles g ON (b.grantor = g.oid)
|
||||
LEFT JOIN pg_catalog.pg_roles gt ON (b.grantee = gt.oid)
|
||||
GROUP BY g.rolname, gt.rolname;
|
||||
GROUP BY g.rolname, gt.rolname
|
||||
ORDER BY grantee;
|
||||
|
@ -38,4 +38,5 @@ LEFT JOIN pg_catalog.pg_roles gt ON (d.grantee = gt.oid)
|
||||
GROUP BY
|
||||
g.rolname,
|
||||
gt.rolname
|
||||
ORDER BY grantee
|
||||
{% endif %}
|
||||
|
@ -36,4 +36,5 @@ LEFT JOIN pg_catalog.pg_roles gt ON (d.grantee = gt.oid)
|
||||
GROUP BY
|
||||
g.rolname,
|
||||
gt.rolname
|
||||
ORDER BY grantee
|
||||
{% endif %}
|
||||
|
@ -32,4 +32,5 @@ FROM
|
||||
) d
|
||||
LEFT JOIN pg_catalog.pg_roles g ON (d.grantor = g.oid)
|
||||
LEFT JOIN pg_catalog.pg_roles gt ON (d.grantee = gt.oid)
|
||||
GROUP BY g.rolname, gt.rolname;
|
||||
GROUP BY g.rolname, gt.rolname
|
||||
ORDER BY grantee;
|
||||
|
@ -26,3 +26,4 @@ FROM
|
||||
LEFT JOIN pg_catalog.pg_roles g ON (d.grantor = g.oid)
|
||||
LEFT JOIN pg_catalog.pg_roles gt ON (d.grantee = gt.oid)
|
||||
GROUP BY g.rolname, gt.rolname
|
||||
ORDER BY grantee
|
||||
|
Loading…
Reference in New Issue
Block a user