Re: Changing ids conflicting with serial values?

Поиск
Список
Период
Сортировка
От 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 по дате отправления:

Предыдущее
От: Bricklen Anderson
Дата:
Сообщение: Re: how to emit line number in a function?
Следующее
От: Richard_D_Levine@raytheon.com
Дата:
Сообщение: Re: OT It is here: Oracle 10g Express