1
0
mirror of https://github.com/postgres/postgres.git synced 2025-12-22 17:42:17 +03:00

Add pg_checkpointer predefined role for CHECKPOINT command.

Any user with the privileges of pg_checkpointer can issue a CHECKPOINT
command.

Reviewed-by: Stephen Frost
Discussion: https://postgr.es/m/67a1d667e8ec228b5e07f232184c80348c5d93f4.camel%40j-davis.com
This commit is contained in:
Jeff Davis
2021-11-09 10:59:08 -08:00
parent b66767b56b
commit 4168a47454
5 changed files with 18 additions and 4 deletions

View File

@@ -52,7 +52,9 @@ CHECKPOINT
</para>
<para>
Only superusers can call <command>CHECKPOINT</command>.
Only superusers or users with the privileges of
the <link linkend="predefined-roles-table"><literal>pg_checkpointer</literal></link>
role can call <command>CHECKPOINT</command>.
</para>
</refsect1>