Re: Invoice number

Поиск
Список
Период
Сортировка
От John Hasler
Тема Re: Invoice number
Дата
Msg-id 87puilr75y.fsf@toncho.dhh.gt.org
обсуждение исходный текст
Ответ на Invoice number  (Kaare Rasmussen <kar@webline.dk>)
Список pgsql-sql
Mike Castle writes:
> If so, why is no rollbackable an issue?  All you should need is unique
> numbers.  Not necessarily exactly sequential numbers.

Sometimes business rules require that every member of a sequence of such
things as invoice numbers be accounted for.

Speculation:
Would it be possible to log SERIAL's as they are issued?  It might be
sufficient to just record the user id, though it would be more useful to
log some indication of what the number was used for (or at least whether
or not it was used at all).
-- 
John Hasler
john@dhh.gt.org (John Hasler)
Dancing Horse Hill
Elmwood, WI


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

Предыдущее
От: Mike Castle
Дата:
Сообщение: Re: Create table doesn't work in plpgsql
Следующее
От: "Oliver Elphick"
Дата:
Сообщение: Re: Invoice number