Re: PG Admin

From: Guy Rouillier <guyr-ml1(at)burntmail(dot)com>
To: pgsql general <pgsql-general(at)postgresql(dot)org>
Subject: Re: PG Admin
Date: 2006-12-05 01:36:30
Message-ID: 4574CD1E.6050502@burntmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Bob Pawley wrote:
> Your missing the point.
>
> I am creating a design system for industrial control.
>
> The control devices need to be numbered. The numbers need to be
> sequential. If the user deletes a device the numbers need to regenerate
> to again become sequential and gapless.

How many control devices are there, and how often do deletes happen? If
there are only 30 devices, and deletes only happen on the order of one
per week, then you could simply run a delete trigger to renumber them.

--
Guy Rouillier

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bob Pawley 2006-12-05 02:11:27 Re: PG Admin
Previous Message Steve Atkins 2006-12-05 00:33:49 Re: PG Admin