Re: unlogged tables - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: unlogged tables
Date
Msg-id 1291348315-sup-1373@alvh.no-ip.org
Whole thread Raw
In response to Re: unlogged tables  (Andy Colson <andy@squeakycode.net>)
Responses Re: unlogged tables  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Excerpts from Andy Colson's message of vie dic 03 00:37:17 -0300 2010:

> Ok, forget the time thing.  Has nothing to do with it.  (Which everyone already assumed I imagine).
> 
> Its truncate.
> 
> Create unloged table, fill it, truncate it, fill it again, restart pg, and the data will still be there.

Hmm, presumably the table rewrite thing in truncate is not preserving
the unlogged state (perhaps it's the swap-relfilenode business).  Does
CLUSTER have a similar effect?  What about VACUUM FULL?  If so you know
where the bug is.

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Author names in source files
Next
From: Andrew Dunstan
Date:
Subject: Re: Author names in source files