Re: about truncate - Mailing list pgsql-hackers

From Jaime Casanova
Subject Re: about truncate
Date
Msg-id 3073cc9b0812301307s681d0f2bhd5b99fb413049886@mail.gmail.com
Whole thread Raw
In response to Re: about truncate  (David Fetter <david@fetter.org>)
Responses Re: about truncate
List pgsql-hackers
On Tue, Dec 30, 2008 at 2:00 PM, David Fetter <david@fetter.org> wrote:
>
> Here's one such use-case.  Let's say a table has gotten large and
> you've decided to partition it.  You add child tables, add one or more
> triggers to the parent table to make sure it never gets a row,
> populate the child tables from the parent table, then you want to
> remove all the rows from the parent table.
>

you're spying me? exactly that happen to me... ;)

my first attempt was to execute TRUNCATE ONLY... and gives me an error
and the thread begun...

--
Atentamente,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Asesoría y desarrollo de sistemas
Guayaquil - Ecuador
Cel. +59387171157


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: WIP patch for basic window frame support
Next
From: "Kevin Grittner"
Date:
Subject: Re: incoherent view of serializable transactions