Re: ERROR: check constraint - PostgreSQL 9.2

Поиск
Список
Период
Сортировка
От Christophe Pettus
Тема Re: ERROR: check constraint - PostgreSQL 9.2
Дата
Msg-id 5F9D3FDD-5465-40CB-87A8-C19A2E06EA93@thebuild.com
обсуждение исходный текст
Ответ на ERROR: check constraint - PostgreSQL 9.2  ("drum.lucas@gmail.com" <drum.lucas@gmail.com>)
Ответы Re: ERROR: check constraint - PostgreSQL 9.2  (Christophe Pettus <xof@thebuild.com>)
Re: ERROR: check constraint - PostgreSQL 9.2  ("Charles Clavadetscher" <clavadetscher@swisspug.org>)
Список pgsql-general
On Jan 24, 2016, at 8:12 PM, "drum.lucas@gmail.com" <drum.lucas@gmail.com> wrote:

> How can I solve the problem? How can I get the command successfully be done?

Two options:

1. Fix the data.

2. Use the NOT VALID option on ALTER TABLE ... ADD constraint, which allows the addition of a constraint without
actuallychecking its validity. 

--
-- Christophe Pettus
   xof@thebuild.com



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

Предыдущее
От: Joshua Berkus
Дата:
Сообщение: Re: A motion
Следующее
От: Christophe Pettus
Дата:
Сообщение: Re: ERROR: check constraint - PostgreSQL 9.2