Re: unique ID

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: unique ID
Дата
Msg-id 20040723155438.GB17787@wolff.to
обсуждение исходный текст
Ответ на unique ID  (sql@aniota.com)
Список pgsql-novice
On Fri, Jul 23, 2004 at 06:56:49 -0700,
  sql@aniota.com wrote:
> I am starting to build an internet directory. What type of system
> generated unique ID would you suggest?

I am not sure that it makes sense to generate an ID for this purpose,
rather than using a URL, email address or whatever else makes sense
for your directory as the primary key.
However, if you do want one, you want to use bigserial (the in4 serial
might not be big enough for your purpose).

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

Предыдущее
От: sql@aniota.com
Дата:
Сообщение: unique ID
Следующее
От: "Luiz K. Matsumura"
Дата:
Сообщение: String Concatenation