Re: Better alternative for Primary Key then serial??

Поиск
Список
Период
Сортировка
От Andrew Sullivan
Тема Re: Better alternative for Primary Key then serial??
Дата
Msg-id 20071213221724.GI7060@crankycanuck.ca
обсуждение исходный текст
Ответ на Re: Better alternative for Primary Key then serial??  (pilzner <belisarius23@yahoo.com>)
Список pgsql-general
On Wed, Dec 12, 2007 at 12:28:37PM -0800, pilzner wrote:
> thats what I'm familiar with" discussion, just to get a feel of why its done
> that way, if I'm doing anything wrong, or if there is an accepted way to
> lock it down.

It'd be easy to lock down with a trigger that RAISEs ERROR in case OLD.id !=
NEW.id.

A

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

Предыдущее
От: Reg Me Please
Дата:
Сообщение: Re: COPY speedup
Следующее
От: Tom Lane
Дата:
Сообщение: Re: extend "group by" to include "empty relations" ?