postgresql/src/bin/pg_rewind/t
Michael Paquier d4e2a843e6 Switch TAP tests of pg_rewind to use a role with minimal permissions
Up to now the tests of pg_rewind have been using a superuser for all the
tests (which is the default of many tests actually, and something that
ought to be reviewed) when involving an online source server, still it
is possible to use a non-superuser role to do that as long as this role
is granted permissions to execute all the source-side functions used for
the rewind.  This is possible since v11, and was already documented as
of bfc8068.

This will allow to catch up easily any change in pg_rewind if the tool
begins to use more backend-side functions, so as the properties
introduced by v11 are kept.

Per suggestion from Peter Eisentraut.

Author: Michael Paquier
Reviewed-by: Magnus Hagander
Discussion: https://postgr.es/m/20190411041336.GM2728@paquier.xyz
2019-04-12 10:46:43 +09:00
..
001_basic.pl Fix searchpath and module location for pg_rewind and ssl TAP tests 2019-02-07 11:09:08 -05:00
002_databases.pl Fix pg_rewind when rewinding new database with tables included 2019-03-18 10:34:45 +09:00
003_extrafiles.pl Fix searchpath and module location for pg_rewind and ssl TAP tests 2019-02-07 11:09:08 -05:00
004_pg_xlog_symlink.pl Fix searchpath and module location for pg_rewind and ssl TAP tests 2019-02-07 11:09:08 -05:00
005_same_timeline.pl Fix searchpath and module location for pg_rewind and ssl TAP tests 2019-02-07 11:09:08 -05:00
RewindTest.pm Switch TAP tests of pg_rewind to use a role with minimal permissions 2019-04-12 10:46:43 +09:00