pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christophe Pettus <xof@thebuild.com>
To: Bryn Llewellyn <bryn@yugabyte.com>
Cc: Tom Lane PostgreSQL <tgl@sss.pgh.pa.us>
Cc: David G. Johnston <david.g.johnston@gmail.com>
Cc: pgsql-general list <pgsql-general@lists.postgresql.org>
Subject: Re: Is it possible to stop sessions killing eachother when they all authorize as the same role?
Date: Tue, 13 Sep 2022 11:30:00 -0700
Message-ID: <D9F27FEC-BFE1-4F84-BFBA-CB857202291D@thebuild.com> (raw)
In-Reply-To: <0CAFB5D3-8EB2-4EE1-A50B-7CBFCB7D558D@yugabyte.com>
References: <10F360BB-3149-45E6-BFFE-10B9AE31F1A6@yugabyte.com>
	<CAKFQuwYr78FAFX4dFL3Mp4qiBZHzQtChTmO91d9FvYn09GzCfw@mail.gmail.com>
	<2F078227-5EEF-4553-89FF-046A6AF12F25@yugabyte.com>
	<CAKFQuwZVq-LerGMTN0E3_7MqhJwtuJuzf0GSnKG32mH_Qf24Zw@mail.gmail.com>
	<E34C9A5F-832D-444C-8798-89BA8F5B386C@yugabyte.com>
	<1883844.1663044542@sss.pgh.pa.us>
	<0CAFB5D3-8EB2-4EE1-A50B-7CBFCB7D558D@yugabyte.com>



> On Sep 13, 2022, at 11:23, Bryn Llewellyn <bryn@yugabyte.com> wrote:
> 
> There must be some-or-other non-standard setting in my environment that results in the behavior that I see and that other's don't.

From the documentation:

> superuser status
> 	A database superuser bypasses all permission checks, except the right to log in.

If you do the test with a non-superuser, you'll get the results you expect.  This isn't related to MacOS.




view thread (32+ messages)  latest in thread

Message-ID: <D9F27FEC-BFE1-4F84-BFBA-CB857202291D@thebuild.com>
Permalink:  ../D9F27FEC-BFE1-4F84-BFBA-CB857202291D@thebuild.com/
Also on:    postgresql.org/message-id/D9F27FEC-BFE1-4F84-BFBA-CB857202291D@thebuild.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: xof@thebuild.com, bryn@yugabyte.com, tgl@sss.pgh.pa.us, david.g.johnston@gmail.com
  Subject: Re: Is it possible to stop sessions killing eachother when they all authorize as the same role?
  In-Reply-To: <D9F27FEC-BFE1-4F84-BFBA-CB857202291D@thebuild.com>
  References: <10F360BB-3149-45E6-BFFE-10B9AE31F1A6@yugabyte.com> <CAKFQuwYr78FAFX4dFL3Mp4qiBZHzQtChTmO91d9FvYn09GzCfw@mail.gmail.com> <2F078227-5EEF-4553-89FF-046A6AF12F25@yugabyte.com> <CAKFQuwZVq-LerGMTN0E3_7MqhJwtuJuzf0GSnKG32mH_Qf24Zw@mail.gmail.com> <E34C9A5F-832D-444C-8798-89BA8F5B386C@yugabyte.com> <1883844.1663044542@sss.pgh.pa.us> <0CAFB5D3-8EB2-4EE1-A50B-7CBFCB7D558D@yugabyte.com> <D9F27FEC-BFE1-4F84-BFBA-CB857202291D@thebuild.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox