Invoice increment

Поиск
Список
Период
Сортировка
От Søren Frisk
Тема Invoice increment
Дата
Msg-id CACe3Kr6jhD4BKv74bs7f3K6FDq7KM_QvCy3s35Dm8gfi5By9Xg@mail.gmail.com
обсуждение исходный текст
Ответы Re: Invoice increment
Re: Invoice increment
Re: Invoice increment
Список pgsql-general
Hi all

I'm trying to find a way to increment an invoice number. And i think it would be pretty straight forward just using a SERIAL int. But as we're selling across multiple countries, i need the invoice increment to be reset by a country_id. any good way to achieve this in a dynamic way? 
Hope this is the right place to ask.

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

Предыдущее
От: Ian Barwick
Дата:
Сообщение: Re: Highly academic: local etcd & Patroni Cluster for testing on asingle host
Следующее
От: Paul Förster
Дата:
Сообщение: Re: Highly academic: local etcd & Patroni Cluster for testing on asingle host