mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-01-09 14:45:47 +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;'
|
'GRANT EXECUTE ON FUNCTION bt_index_check(regclass, bool) TO backup;'
|
||||||
)
|
)
|
||||||
|
|
||||||
# if ProbackupTest.enterprise:
|
if ProbackupTest.enterprise:
|
||||||
# node.safe_psql(
|
node.safe_psql(
|
||||||
# "backupdb",
|
"backupdb",
|
||||||
# "GRANT EXECUTE ON FUNCTION pg_catalog.pgpro_edition() TO backup")
|
"GRANT EXECUTE ON FUNCTION pg_catalog.pgpro_edition() TO backup")
|
||||||
#
|
|
||||||
# node.safe_psql(
|
|
||||||
# "backupdb",
|
|
||||||
# "GRANT EXECUTE ON FUNCTION pg_catalog.pgpro_version() TO backup")
|
|
||||||
|
|
||||||
# checkdb
|
# checkdb
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user