| От | Csaba Nagy |
|---|---|
| Тема | Re: Changing ids conflicting with serial values? |
| Дата | |
| Msg-id | 1131040006.4892.11.camel@coppola.muc.ecircle.de обсуждение исходный текст |
| Ответ на | Re: Changing ids conflicting with serial values? (SCassidy@overlandstorage.com) |
| Список | pgsql-general |
[snip] On Thu, 2005-11-03 at 18:02, SCassidy@overlandstorage.com wrote: > Strange - I had never realized that PostgreSQL would allow you to UPDATE a > primary key value. I thought that other db's I had used (e.g. Sybase, > Oracle, SQL Server, etc.) in the past would not allow that, and you had to > DELETE, then INSERT to modify a row that needed a different primary key. Well, you're wrong about that too... Oracle at least will definitely let you update a primary key. The primary key is technically nothing more than a unique, not null restriction, plus an index on it, otherwise you can do with it what you wish. > [snip] Cheers, Csaba.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера