pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Stephan Hahn <stephan-hahn@gmx.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: make postgres readonly
Date: Tue, 02 Mar 2021 12:25:58 -0500
Message-ID: <1016718.1614705958@sss.pgh.pa.us> (raw)
In-Reply-To: <1614698929965-0.post@n3.nabble.com>
References: <1614698929965-0.post@n3.nabble.com>

Stephan Hahn <stephan-hahn@gmx.net> writes:
> Does it cause any problems if i set the user postgres to readonly?

Not really sure what you have in mind there, but superusers bypass
all permissions checks.  Even if it worked, it'd be likely to break
the autovacuum daemon.

			regards, tom lane





view thread (3+ messages)  latest in thread

Message-ID: <1016718.1614705958@sss.pgh.pa.us>
Permalink:  ../1016718.1614705958@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1016718.1614705958@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, stephan-hahn@gmx.net
  Subject: Re: make postgres readonly
  In-Reply-To: <1016718.1614705958@sss.pgh.pa.us>

* 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