RE: pg_replication_origin_session_setup and superuser

2021-02-16 Thread Zohar Gofer
Thanks. This seems to be the fix we need. Would it be possible to push it to previous versions? 12 or 13? Zohar -Original Message- From: Michael Paquier Sent: Tuesday, February 16, 2021 2:52 AM To: Zohar Gofer Cc: pgsql-hackers@lists.postgresql.org Subject: Re

pg_replication_origin_session_setup and superuser

2021-02-15 Thread Zohar Gofer
only a user with replication privileges will actually do replication, even if this is not really a replication. Taking it one step further, I see no reason why stamping a session with origin requires elevated privileges at all, but don't know enough about this. Zohar Gofer This email and the