Hi Serge
Not really - more of a case of temporarily not allowing 'non-super' user to connect while data is being updated
Tom
I think that this is the answer - if I restrict access to the 'data_owner' user over the network by replacing the
entry:all with data_owner in the pg_hba.conf file this should allow us to carry out data updates 'in peace' as
required.
Thanks
Austen
-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: 03 July 2013 16:44
To: Birchall, Austen
Cc: pgsql-novice@postgresql.org
Subject: Re: [NOVICE] Is it possible to start PostgreSQL in 'restrict' mode
"Birchall, Austen" <austen.birchall@metoffice.gov.uk> writes:
> Is it possible to start a PostgreSQL cluster in 'restrict' mode so that only the postgres user can connect to a
databasei.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