Re: Update violating constraint

Поиск
Список
Период
Сортировка
От Michael Glaesemann
Тема Re: Update violating constraint
Дата
Msg-id F8EE17FE-F48F-42FF-915E-686A8D546A13@seespotcode.net
обсуждение исходный текст
Ответ на Re: Update violating constraint  (Naz Gassiep <naz@mira.net>)
Список pgsql-general
On May 2, 2007, at 23:36 , Naz Gassiep wrote:

> I don't
> know why you'd ever use your second option ever, as it virtually
> guarantees problems at a random point in your DB's growth.

There may be cases where the values are not all positive so you can't
use the -1 * technique, but the offset will work. It depends on the
nature of your data. One size doesn't necessarily fit all.

Michael Glaesemann
grzm seespotcode net



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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Update violating constraint
Следующее
От: Andrei Kovalevski
Дата:
Сообщение: Re: C functions under windows