Re: what happens to indexes when TRUNCATEing - Mailing list pgsql-general

From Grzegorz Jaśkiewicz
Subject Re: what happens to indexes when TRUNCATEing
Date
Msg-id 2f4958ff0812170339j436fe5d6o1e127c337adda894@mail.gmail.com
Whole thread Raw
In response to what happens to indexes when TRUNCATEing  ("Willy-Bas Loos" <willybas@gmail.com>)
Responses Re: what happens to indexes when TRUNCATEing
List pgsql-general
On Wed, Dec 17, 2008 at 11:37 AM, Willy-Bas Loos <willybas@gmail.com> wrote:
>>> What happens to indexes on a table that is TRUNCATEd?
>>They are truncated too.
> From the manual:
> "Furthermore, [truncate] reclaims disk space immediately, rather than
> requiring a subsequent VACUUM operation."
> Does this go for indexes too?
>
someone asked the same question here not so long time ago. The answer
is - yes, it applies to indices too.



--
GJ

pgsql-general by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: what happens to indexes when TRUNCATEing
Next
From: "Willy-Bas Loos"
Date:
Subject: Re: what happens to indexes when TRUNCATEing