Re: GSoC proposal - "make an unlogged table logged" - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: GSoC proposal - "make an unlogged table logged"
Date
Msg-id 533AF9D7.7010503@vmware.com
Whole thread Raw
In response to Re: GSoC proposal - "make an unlogged table logged"  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: GSoC proposal - "make an unlogged table logged"  (Andres Freund <andres@2ndquadrant.com>)
Re: GSoC proposal - "make an unlogged table logged"  (Heikki Linnakangas <hlinnakangas@vmware.com>)
List pgsql-hackers
On 03/07/2014 05:36 AM, Tom Lane wrote:
> Fabrízio de Royes Mello <fabriziomello@gmail.com> writes:
>> Do you think is difficult to implement "ALTER TABLE ... SET UNLOGGED" too?
>> Thinking in a scope of one GSoC, of course.
>
> I think it's basically the same thing.  You might hope to optimize it;
> but you have to create (rather than remove) an init fork, and there's
> no way to do that in exact sync with the commit.

You just have to include that information with the commit WAL record, no?

- Heikki



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: psql \d+ and oid display
Next
From: Andres Freund
Date:
Subject: Re: psql \d+ and oid display