Drawbacks of using BYTEA for PK?

Поиск
Список
Период
Сортировка
От David Garamond
Тема Drawbacks of using BYTEA for PK?
Дата
Msg-id 40017220.5030607@zara.6.isreserved.com
обсуждение исходный текст
Ответы Re: Drawbacks of using BYTEA for PK?  ("D. Dante Lorenso" <dante@lorenso.com>)
Список pgsql-general
Are there any drawbacks of using BYTEA for PK compared to using a
primitive/atomic data types like INT/SERIAL? (like significant
performance hit, peculiar FK behaviour, etc).

I plan to use BYTEA for GUID (of course, temporarily I hope, until
PostgreSQL officially supports GUID data type), since it seems to be the
most convenient+compact compared to other data types currently
available. I use GUIDs for most PK columns.

--
dave

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

Предыдущее
От: David Garamond
Дата:
Сообщение: CHAR(N) storage requirement
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: CHAR(N) storage requirement