Re: Best approach for a "gap-less" sequence

Поиск
Список
Период
Сортировка
От Harald Fuchs
Тема Re: Best approach for a "gap-less" sequence
Дата
Msg-id pu3bbzf4mz.fsf@srv.protecting.net
обсуждение исходный текст
Ответ на Re: Best approach for a "gap-less" sequence  (Harald Fuchs <hf0731x@protecting.net>)
Список pgsql-general
In article <C1061F94.52761%scott_ribe@killerbytes.com>,
Scott Ribe <scott_ribe@killerbytes.com> writes:

>> Why putting gapless numbers into the database at all?  Just
>> calculate them at query time.

> There is ABSOLUTELY NO WAY that would be acceptable for accounting or legal
> purposes. It would be the same as fabricating the numbers during an audit.

At some point in time those numbers "get fabricated" anyway.  As long
as you don't change the records inbetween, the technical effect would
be the same.  But you might be right that this is forbidden.  I don't
speak legalese.

В списке pgsql-general по дате отправления:

Предыдущее
От: Harald Fuchs
Дата:
Сообщение: Re: Best approach for a "gap-less" sequence
Следующее
От: Jorge Godoy
Дата:
Сообщение: Re: Best approach for a "gap-less" sequence