serial with int8 ??

Поиск
Список
Период
Сортировка
От Janning Vygen
Тема serial with int8 ??
Дата
Msg-id 0110301812330L.25068@janning
обсуждение исходный текст
Ответы Re: serial with int8 ??  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
hi,

serial seems to be limited to use int4.
usually i use serial for the primary key, but what to do if you
expect more than 4.000.000.000 rows (or whatever is the exact limit)

Does anybody has written a function which creates a unique ID, like
the usual approach using time and pid...

or is tehre another way around this problem? maybe a sequence with
int8??

thanks in advance
janning

--
Planwerk 6 /websolutions
Herzogstraße 86
40215 Düsseldorf

fon 0211-6015919
fax 0211-6015917
http://www.planwerk6.de

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

Предыдущее
От: tek1
Дата:
Сообщение: pgadmin2
Следующее
От: Nikola Milutinovic
Дата:
Сообщение: PostgreSQL + JDBC + local alphabet support