1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-01-08 13:44:32 +02:00

tests: fix test_checkdb_with_least_privileges

This commit is contained in:
Grigory Smolkin 2020-11-14 04:11:33 +03:00
parent 6611e5e8c0
commit 2808cc673c

View File

@ -618,14 +618,10 @@ class CheckdbTest(ProbackupTest, unittest.TestCase):
'GRANT EXECUTE ON FUNCTION bt_index_check(regclass, bool) TO backup;'
)
# if ProbackupTest.enterprise:
# node.safe_psql(
# "backupdb",
# "GRANT EXECUTE ON FUNCTION pg_catalog.pgpro_edition() TO backup")
#
# node.safe_psql(
# "backupdb",
# "GRANT EXECUTE ON FUNCTION pg_catalog.pgpro_version() TO backup")
if ProbackupTest.enterprise:
node.safe_psql(
"backupdb",
"GRANT EXECUTE ON FUNCTION pg_catalog.pgpro_edition() TO backup")
# checkdb
try: