Re: Update with a Repeating Sequence

From: Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>
To: "Bill Thoen" <bthoen(at)gisnet(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Update with a Repeating Sequence
Date: 2008-10-14 16:10:17
Message-ID: 2f4958ff0810140910g12abb6eib5eb19b9e17fd32b@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

alter table foo add newid sequencial;

alter table foo drop field_id;

alter table foo rename newid to field_id;

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Grzegorz Jaśkiewicz 2008-10-14 16:11:13 Re: Update with a Repeating Sequence
Previous Message Bill Thoen 2008-10-14 16:04:39 Update with a Repeating Sequence