pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joseph Kennedy <joseph.kennedy.486@gmail.com>
To: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: Giovanni Biscontini <biscontini.g@es2000.it>
Cc: pgsql-general@postgresql.org
Subject: Re: PostgreSQL
Date: Tue, 7 Feb 2023 15:46:39 +0100
Message-ID: <8C7CE513-7187-428E-81C2-508C85812B54@gmail.com> (raw)
In-Reply-To: <dabd6f968361f363f2ecb93a7be2bc27ddd68908.camel@cybertec.at>
References: <dabd6f968361f363f2ecb93a7be2bc27ddd68908.camel@cybertec.at>

Thank you Laurenz, I just wanted to make sure. 

Do you know any alternative solution to RLS ?

> Wiadomość napisana przez Laurenz Albe <laurenz.albe@cybertec.at> w dniu 07.02.2023, o godz. 15:34:
> 
> On Tue, 2023-02-07 at 12:36 +0100, Joseph Kennedy wrote:
>> RLS policy it only affects to command as SELECT, INSERT, UPDATE, DELETE or
>> can affects to operations on whole database, table like vacuum or reindex etc ?
> 
> No, that wouldn't make any sense.  Row Level Security determines who
> is allowed to see or create which data.  Jobs like removing dead tuples
> or rebuilding an index have nothing to do with that.
> 
> Besides, anything that requires the table owner or a superuser cannot
> be reasonably controlled with row level security, because both the
> table owner and a superuser are exempt from RLS anyway.
> 
> Yours,
> Laurenz Albe





view thread (68+ messages)  latest in thread

Message-ID: <8C7CE513-7187-428E-81C2-508C85812B54@gmail.com>
Permalink:  ../8C7CE513-7187-428E-81C2-508C85812B54@gmail.com/
Also on:    postgresql.org/message-id/8C7CE513-7187-428E-81C2-508C85812B54@gmail.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: joseph.kennedy.486@gmail.com, laurenz.albe@cybertec.at, biscontini.g@es2000.it
  Subject: Re: PostgreSQL
  In-Reply-To: <8C7CE513-7187-428E-81C2-508C85812B54@gmail.com>
  References: <dabd6f968361f363f2ecb93a7be2bc27ddd68908.camel@cybertec.at> <8C7CE513-7187-428E-81C2-508C85812B54@gmail.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