| От | Scott Marlowe |
|---|---|
| Тема | Re: primary keys as TEXT |
| Дата | |
| Msg-id | 1154115274.31664.132.camel@state.g2switchworks.com обсуждение исходный текст |
| Ответ на | primary keys as TEXT (Manlio Perillo <manlio_perillo@libero.it>) |
| Список | pgsql-sql |
On Fri, 2006-07-28 at 03:37, Manlio Perillo wrote: > Hi. > > There can be performancs problems in having primary keys of type TEXT? > What about having a primary key of 3 columns (all of type TEXT)? The biggest problem with using text as a primary key or foreign key is that text types are locale dependent, so that you might get one behaviour on one server and another behaviour on another, depending on configuration of the locale and the locale support on that machine. For instance, if you have a locale that says that E and e are equivalent, and another locale that says they aren't...
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера