pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kaare Rasmussen <kar@webline.dk>
To: PostgreSQL-SQL <pgsql-sql@postgresql.org>
Subject: Invoice number
Date: Thu, 21 Dec 2000 11:10:00 +0100
Message-ID: <00122111100003.25042@bering> (raw)

Hi

My, my. It works. How many times have I tried this mailing list with no 
success :-(

I'm wondering how people creates guaranteed sequential numbers - in my case 
for invoice numbers.

- Sequences are not rollback'able.
- It seems overkill to have a table just for this.
- What else?

tia



view thread (12+ messages)  latest in thread

Message-ID: <00122111100003.25042@bering>
Permalink:  ../00122111100003.25042@bering/
Also on:    postgresql.org/message-id/00122111100003.25042@bering

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: kar@webline.dk
  Subject: Re: Invoice number
  In-Reply-To: <00122111100003.25042@bering>
  References: <00122111100003.25042@bering>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox