From: | "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk> |
---|---|
To: | Mike Castle <dalgoda(at)ix(dot)netcom(dot)com> |
Cc: | PostgreSQL-SQL <pgsql-sql(at)postgresql(dot)org> |
Subject: | Re: Invoice number |
Date: | 2000-12-21 17:50:43 |
Message-ID: | 200012211750.eBLHohP12000@linda.lfix.co.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
Mike Castle wrote:
>On Thu, Dec 21, 2000 at 11:10:00AM +0100, Kaare Rasmussen wrote:
>> - Sequences are not rollback'able.
>
>Did you mean SERIAL instead of sequence here?
>
>If so, why is no rollbackable an issue? All you should need is unique
>numbers. Not necessarily exactly sequential numbers.
For invoice numbers, it matters.
Numbers missing from such a sequence are likely to provoke questions from
auditors and taxmen; why borrow trouble?
--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47 6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"For a child will be born to us, a son will be given to
us; And the government will rest on His shoulders; And
His name will be called Wonderful Counsellor, Mighty
God, Eternal Father, Prince of Peace."
Isaiah 9:6
From | Date | Subject | |
---|---|---|---|
Next Message | John Hasler | 2000-12-21 17:55:05 | Re: Invoice number |
Previous Message | Stephan Szabo | 2000-12-21 17:10:21 | Re: Create table doesn't work in plpgsql |