Re: Questions about the new subscription parameter: password_required - Mailing list pgsql-hackers

From Benoit Lobréau
Subject Re: Questions about the new subscription parameter: password_required
Date
Msg-id 8a591918-6eba-9314-a3f0-ad22406e50d0@dalibo.com
Whole thread Raw
In response to Re: Questions about the new subscription parameter: password_required  (Jeff Davis <pgsql@j-davis.com>)
Responses Re: Questions about the new subscription parameter: password_required
List pgsql-hackers
On 9/23/23 03:57, Jeff Davis wrote:
> IIUC there is really one use case here, which is for superuser to
> define a subscription including the connection, and then change the
> owner to a non-superuser to actually run it (without being able to
> touch the connection string itself). I'd just document that in its own
> section, and mention a few caveats / mistakes to avoid. For instance,
> when the superuser is defining the connection, don't forget to set
> password_required=false, so that when you reassign to a non-superuser
> then the connection doesn't break.

Hi,

I tried adding a section in "Logical Replication > Subscription" with 
the text you suggested and links in the CREATE / ALTER SUBSRIPTION commands.

Is it better ?

-- 
Benoit Lobréau
Consultant
http://dalibo.com
Attachment

pgsql-hackers by date:

Previous
From: Dmitry Dolgov
Date:
Subject: Re: LLVM 16 (opaque pointers)
Next
From: Dean Rasheed
Date:
Subject: Re: BRIN minmax multi - incorrect distance for infinite timestamp/date