Re: How to start a database in ReadOnly mode?

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Paul Schluck <pschluck(at)gmail(dot)com>
Cc: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: How to start a database in ReadOnly mode?
Date: 2011-07-07 07:26:19
Message-ID: CA+U5nMJCYodsfB-cXcz4TAcvKNfRmfpGewqrLhsaZLG_6Va5=w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Thu, Jul 7, 2011 at 8:08 AM, Paul Schluck <pschluck(at)gmail(dot)com> wrote:

> Is it possible to start a postgres cluster or 1 postgres database in
> readonly mode? And - if yes - how can this be done?

There is no formal, explicit command to do that. Just avoid doing
writes, either in the application or by removing privileges.

--
 Simon Riggs                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Achilleas Mantzios 2011-07-07 07:49:53 Re: How to start a database in ReadOnly mode?
Previous Message Paul Schluck 2011-07-07 07:08:27 How to start a database in ReadOnly mode?