Re: [GENERAL] How to configure a read-only database server and session? (Was: read-only UNLOGGED tables)

2011-04-19 Thread mark
> -Original Message- > From: pgsql-general-ow...@postgresql.org [mailto:pgsql-general- > ow...@postgresql.org] On Behalf Of Stefan Keller > Sent: Sunday, April 17, 2011 2:04 PM > To: pgsql-general List > Subject: [GENERAL] How to configure a read-only database server a

Re: [GENERAL] How to configure a read-only database server and session? (Was: read-only UNLOGGED tables)

2011-04-17 Thread Craig Ringer
On 04/18/2011 04:04 AM, Stefan Keller wrote: 5. Optimize and secure session by following parameters: SET transaction_read_only TO FALSE; SET TRANSACTION READ ONLY; AFAIK, neither of those have any effect on security. They're purely advisory hints to Pg. Personally I think it'd be

[GENERAL] How to configure a read-only database server and session? (Was: read-only UNLOGGED tables)

2011-04-17 Thread Stefan Keller
I have a single-disk virtual Linux system and a read-only dataset which is exposed to internet and completely replaced from time to time. I compiled following steps in order to secure and speedup such PostgreSQL/PostGIS instance: 1. Re-configure PostgreSQL server as following: a. Disabling aut