Re: TRUNCATE TABLE with IDENTITY

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Zoltan Boszormenyi <zb(at)cybertec(dot)at>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: TRUNCATE TABLE with IDENTITY
Date: 2008-04-22 16:01:02
Message-ID: 20080422160102.GC6912@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Zoltan Boszormenyi wrote:

> I just saw this on the CommitFest:May page:
>
> "alvherre says: I'm not sure if this is the same patch in the previous
> entry, or a different feature"
>
> I wanted to clarify, the second patch contains two features.
> 1. stored start value for sequences, ALTER SEQUENCE ... RESTART;
> 2. (builds on 1.) TRUNCATE ... RESTART IDENTITY;

Does this mean that the first patch can be removed? Please do so in
that case, and remove my comment too. And perhaps the description of
the patch will need a little fixing, too.

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-04-22 16:40:42 Re: CommitFest Wiki page annoyance
Previous Message Alvaro Herrera 2008-04-22 15:46:27 Re: port/thread.c and pthreads

Browse pgsql-patches by date

  From Date Subject
Next Message Teodor Sigaev 2008-04-22 19:01:58 Re: Partial match in GIN (next vesrion)
Previous Message Zoltan Boszormenyi 2008-04-22 15:19:11 Re: TRUNCATE TABLE with IDENTITY