Re: Is it possible to start PostgreSQL in 'restrict' mode

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Birchall, Austen" <austen(dot)birchall(at)metoffice(dot)gov(dot)uk>
Cc: "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Is it possible to start PostgreSQL in 'restrict' mode
Date: 2013-07-03 15:44:22
Message-ID: 6170.1372866262@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

"Birchall, Austen" <austen(dot)birchall(at)metoffice(dot)gov(dot)uk> writes:
> Is it possible to start a PostgreSQL cluster in 'restrict' mode so that only the postgres user can connect to a database i.e. as a means of keeping 'normal' user out when data updates etc. are being carried out?

Sure, just adjust pg_hba.conf to accept connections from only that user.

regards, tom lane

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Birchall, Austen 2013-07-03 15:59:54 Re: Is it possible to start PostgreSQL in 'restrict' mode
Previous Message Serge Fonville 2013-07-03 15:42:14 Re: Is it possible to start PostgreSQL in 'restrict' mode