Skip site navigation (1) Skip section navigation (2)

Re: Unlogged tables cannot be truncated twice

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-bugs(at)postgresql(dot)org
Cc: Cédric Villemain <cedric(dot)villemain(dot)debian(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Greg Sabino Mullane <greg(at)endpoint(dot)com>
Subject: Re: Unlogged tables cannot be truncated twice
Date: 2011-05-31 00:14:00
Message-ID: 201105310214.00791.andres@anarazel.de (view raw or flat)
Thread:
Lists: pgsql-bugs
On Tuesday, May 31, 2011 01:56:05 AM Cédric Villemain wrote:
> I remove my own explanations as we conclude on the same thing.
> Attached is the fix by adding a (!reindex)  in the index.c if().
Thats imo wrong because it will break a plain REINDEX?

I think one possible correct fix would be the attached:


Andres

Attachment: 0001-Fix-file-existing-errors-uppon-recreation-of-an-unlo.patch
Description: text/x-patch (1.6 KB)

In response to

Responses

pgsql-bugs by date

Next:From: Andres FreundDate: 2011-05-31 00:35:58
Subject: Re: Unlogged tables cannot be truncated twice
Previous:From: Cédric VillemainDate: 2011-05-30 23:56:05
Subject: Re: Unlogged tables cannot be truncated twice

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group