Re: table sequence, renumbering - Mailing list pgsql-general

From Scott Marlowe
Subject Re: table sequence, renumbering
Date
Msg-id CAOR=d=0ZAoK87jkn8+CekjR4VcpXNuKYnkE9wsH5ccDEhiW4Vw@mail.gmail.com
Whole thread Raw
In response to table sequence, renumbering  ("J.V." <jvsrvcs@gmail.com>)
List pgsql-general
On Tue, Oct 4, 2011 at 9:51 AM, J.V. <jvsrvcs@gmail.com> wrote:
> What is the absolute fastest way to populate a primary key / id column from
> a named db sequence (disabled constraints and want to renumber the primary
> key / id column from sequence.
>
> cannot use auto inc or serial column because need to use generic hibernate
> mapping files for multiple DB's in the end, but want a stored proc to simple
> reorder a primary key int column pulling from a named sequence, if there is
> a single command.

Not even temporary sequences to do the just the renumbering?

pgsql-general by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: LAPP server moving from 4 GB RAM to 16 GB - increase shared_buffers?
Next
From: Raymond O'Donnell
Date:
Subject: Re: table sequence, renumbering