Re: unlooged tables

From: Andres Freund <andres(at)2ndquadrant(dot)com>
To: Igor Neyman <ineyman(at)perceptron(dot)com>
Cc: Sergey Konoplev <gray(dot)ru(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: unlooged tables
Date: 2012-12-07 21:48:14
Message-ID: 20121207214814.GJ8476@awork2.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

On 2012-12-07 14:29:26 +0000, Igor Neyman wrote:
> I was hoping, may be hacking pg_catalog, like setting pg_class.relpersistence to 'u' will do the trick (or something like this).
>
> b.t.w. there will be no other active connections, so there is no risk of needing to add/update/delete records in the table while changing to "unlogged".

Nope, thats not enough, won't create the init fork, so your next restart
will probably fail.

Greetings,

Andres Freund

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ryan Kelly 2012-12-07 21:58:04 Large temporary file generated during query
Previous Message Sergey Konoplev 2012-12-07 21:36:00 Re: unlooged tables