Re: Would you do this?

From: Ludwig Meyerhoff <ludwig(at)antar(dot)com>
To: Christian Marschalek <cm(at)chello(dot)at>
Cc: "[GENERAL] PostgreSQL" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Would you do this?
Date: 2001-05-05 23:13:36
Message-ID: Pine.LNX.4.21.0105060109490.24253-100000@ludwig
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hallo!

> I'm on a project that deals with a users database... Every user gets a
> id assigned. If he cancles his account, the next user to register will
> get his id. Would you do this? Or just let there be gaps between user
> ids?
Well, AFAIK it is not a good idea to use IDs again, as by doing this You
have to be absolutely sure the application You run does not save some data
separately (login data, history and so on) ...
As You write the application to acces Your database it should not be of
that interest, but what if Your collegue (or the customer) decides to
write a new frontend?
But if You delete a row froma table, the following rows should move one
up, shouldn't they?

Saluti!

Ludwig

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ian Harding 2001-05-05 23:35:52 Re: Accounting Schema
Previous Message Dave Cramer 2001-05-05 23:09:13 Accounting Schema