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:
parent
6611e5e8c0
commit
2808cc673c
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user