Re: [HACKERS] read-only database - Mailing list pgsql-patches

From Tom Lane
Subject Re: [HACKERS] read-only database
Date
Msg-id 14790.1115598196@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] read-only database  (Satoshi Nagayasu <nagayasus@nttdata.co.jp>)
List pgsql-patches
Satoshi Nagayasu <nagayasus@nttdata.co.jp> writes:
> I think the read-only has two meanings for the user.
> First is the internal state. XID, OID or something like that.
> In these cases, the internal state mustn't be changed.
> Some users will need the read-only for internal state.

> Second is read-only for the user data contents.
> In some cases, the user want to make the user data as read-only.
> For this purpose, the user doesn't care XID or OID, I guess.

> So, we can implement them in different way.
> I think both are necessary.

Indeed, but we already have a implementation of the second form, in
a reasonably spec-compliant fashion.  The TODO item concerns the first
form, which is something that the current system cannot do at all.

            regards, tom lane

pgsql-patches by date:

Previous
From: Satoshi Nagayasu
Date:
Subject: Re: [HACKERS] read-only database
Next
From: Alvaro Herrera
Date:
Subject: Re: [HACKERS] read-only database