Re: Serials: removing the holes? (consecutive)

From: Masaru Sugawara <rk73(at)sea(dot)plala(dot)or(dot)jp>
To: Jean-Christian Imbeault <jc(at)mega-bucks(dot)co(dot)jp>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Serials: removing the holes? (consecutive)
Date: 2002-08-04 04:23:36
Message-ID: 20020804132304.1EA5.RK73@sea.plala.or.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sun, 04 Aug 2002 13:07:29 +0900
I <rk73(at)sea(dot)plala(dot)or(dot)jp> wrote:

I'm sorry, the outputs of the results had mistakes in the previous mail.

> -- outputs of the results of initial INSERT/UPDATE
> SELECT * FROM tbl;
> a | b
> ----+---
> 1 | d
> 4 | r
> 10 | g
> 2 | p
> (4 rows)

a | b
----+---
1 | d
4 | r
10 | i
2 | p
(4 rows)

> -- outputs of the result after re-createing a primary key.
> SELECT * FROM tbl;
> a | b
> ---+---
> 1 | d
> 2 | p
> 3 | r
> 4 | g
> (4 rows)

a | b
---+---
1 | d
2 | p
3 | r
4 | i
(4 rows)

Regards,
Masaru Sugawara

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2002-08-04 04:55:15 Re: Searching accented words
Previous Message Masaru Sugawara 2002-08-04 04:07:29 Re: Serials: removing the holes? (consecutive)