mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-12-01 21:09:10 -06:00
Fixed RESQL test cases for PG14.
This commit is contained in:
parent
0957670d4e
commit
02e799c917
@ -36,7 +36,7 @@ GROUP BY g.rolname, gt.rolname, a.deftype
|
||||
ORDER BY a.deftype
|
||||
)
|
||||
{% else %}
|
||||
|
||||
SELECT * from (
|
||||
(SELECT
|
||||
CASE (e.deftype)
|
||||
WHEN 'r' THEN 'deftblacl'
|
||||
@ -157,5 +157,5 @@ FROM(
|
||||
LEFT JOIN pg_catalog.pg_roles g ON (e.grantor = g.oid)
|
||||
LEFT JOIN pg_catalog.pg_roles gt ON (e.grantee = gt.oid)
|
||||
GROUP BY g.rolname, gt.rolname, e.deftype
|
||||
ORDER BY e.deftype)
|
||||
ORDER BY e.deftype)) f order by f.acltype DESC
|
||||
{% endif %}
|
||||
|
@ -13,9 +13,9 @@ CREATE DATABASE <TEST_DB_NAME>
|
||||
|
||||
ALTER DEFAULT PRIVILEGES FOR ROLE postgres REVOKE ALL ON TABLES FROM postgres;
|
||||
|
||||
ALTER DEFAULT PRIVILEGES FOR ROLE postgres REVOKE ALL ON SEQUENCES FROM postgres;
|
||||
|
||||
ALTER DEFAULT PRIVILEGES FOR ROLE postgres
|
||||
GRANT SELECT, USAGE ON SEQUENCES TO PUBLIC;
|
||||
|
||||
ALTER DEFAULT PRIVILEGES FOR ROLE postgres REVOKE ALL ON SEQUENCES FROM postgres;
|
||||
|
||||
ALTER DEFAULT PRIVILEGES FOR ROLE postgres REVOKE EXECUTE ON FUNCTIONS FROM PUBLIC;
|
||||
|
@ -13,11 +13,11 @@ CREATE DATABASE <TEST_DB_NAME>
|
||||
|
||||
ALTER DEFAULT PRIVILEGES FOR ROLE postgres REVOKE ALL ON TABLES FROM postgres;
|
||||
|
||||
ALTER DEFAULT PRIVILEGES FOR ROLE postgres REVOKE ALL ON SEQUENCES FROM postgres;
|
||||
|
||||
ALTER DEFAULT PRIVILEGES FOR ROLE postgres
|
||||
GRANT SELECT, USAGE ON SEQUENCES TO PUBLIC;
|
||||
|
||||
ALTER DEFAULT PRIVILEGES FOR ROLE postgres REVOKE ALL ON SEQUENCES FROM postgres;
|
||||
|
||||
ALTER DEFAULT PRIVILEGES FOR ROLE postgres REVOKE EXECUTE ON FUNCTIONS FROM PUBLIC;
|
||||
|
||||
ALTER DEFAULT PRIVILEGES FOR ROLE postgres REVOKE USAGE ON TYPES FROM PUBLIC;
|
||||
|
@ -11,9 +11,9 @@ CREATE DATABASE <TEST_DB_NAME>
|
||||
TABLESPACE = pg_default
|
||||
CONNECTION LIMIT = -1;
|
||||
|
||||
ALTER DEFAULT PRIVILEGES FOR ROLE enterprisedb REVOKE ALL ON TABLES FROM enterprisedb;
|
||||
|
||||
ALTER DEFAULT PRIVILEGES FOR ROLE enterprisedb
|
||||
GRANT SELECT ON TABLES TO PUBLIC;
|
||||
|
||||
ALTER DEFAULT PRIVILEGES FOR ROLE enterprisedb REVOKE ALL ON TABLES FROM enterprisedb;
|
||||
|
||||
ALTER DEFAULT PRIVILEGES FOR ROLE enterprisedb REVOKE EXECUTE ON FUNCTIONS FROM PUBLIC;
|
||||
|
Loading…
Reference in New Issue
Block a user