mirror of
https://github.com/postgres/postgres.git
synced 2025-09-11 00:12:06 +03:00
Restart the apply worker if the privileges have been revoked.
Restart the apply worker if the subscription owner's superuser privileges have been revoked. This is required so that the subscription connection string gets revalidated and use the password option to connect to the publisher for non-superusers, if required. Author: Vignesh C Reviewed-by: Amit Kapila Discussion: http://postgr.es/m/CALDaNm2Dxmhq08nr4P6G+24QvdBo_GAVyZ_Q1TcGYK+8NHs9xw@mail.gmail.com
This commit is contained in:
@@ -127,6 +127,7 @@ typedef struct Subscription
|
||||
* skipped */
|
||||
char *name; /* Name of the subscription */
|
||||
Oid owner; /* Oid of the subscription owner */
|
||||
bool ownersuperuser; /* Is the subscription owner a superuser? */
|
||||
bool enabled; /* Indicates if the subscription is enabled */
|
||||
bool binary; /* Indicates if the subscription wants data in
|
||||
* binary format */
|
||||
|
Reference in New Issue
Block a user