| От | Neil Conway |
|---|---|
| Тема | Re: guids / bytea and index use ? |
| Дата | |
| Msg-id | 428DCDC7.4050302@samurai.com обсуждение исходный текст |
| Ответ на | guids / bytea and index use ? ("Paul Newman" <pnewman@tripoint.co.uk>) |
| Список | pgsql-general |
Paul Newman wrote: > We are currently using a 32byte varchar for our primary keys. We tried > to reduce this down to 16 bytes but varchar didn't seem to store this > correctly. In what way was it not stored "correctly"? The size limit should not significantly affect varchar behavior, other than bounding its maximum size of course. > I'd like to use bytea instead so we could use 16bytes, but are > indexes used properly ? Sure. > Does anyone have any other suggestions on how to store guids ? http://gborg.postgresql.org/project/pguuid/projdisplay.php is out there; I haven't used it personally, though. Is there a reason you can't use an int8? -Neil
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера