Re: Sequence name with SERIAL type

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Sequence name with SERIAL type
Дата
Msg-id 200312170936.16016.dev@archonet.com
обсуждение исходный текст
Ответ на Sequence name with SERIAL type  (Marek Lewczuk <newsy@lewczuk.com>)
Список pgsql-general
On Wednesday 17 December 2003 07:59, Marek Lewczuk wrote:
> I'm curious if the default scheme for sequence name (which is created
> with SERIAL data type) can be changed -- currently all sequences are
> named like this: <table_name>_<field_name>_seq -- can it be changed for
> e.g. <table_name>__<field_name>__seq ???

Your two options seem to be:
1. Build your own sequence and don't use SERIAL
2. Change the source (should be a simple change).

--
  Richard Huxton
  Archonet Ltd

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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: md5 function
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: md5 function