Re: Problem with constraint unique.

Поиск
Список
Период
Сортировка
От Mani Sankar
Тема Re: Problem with constraint unique.
Дата
Msg-id CAEtVwW0BnQVvNrnH0hckfNk8rTB-Q+dD1RVxXrtnZpMxxEAirg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Problem with constraint unique.  (Greg Sabino Mullane <htamfids@gmail.com>)
Список pgsql-bugs
Yeah correct got confused with PK and FK

Thanks, for correcting 

Regards,
Mani.

On Fri, 13 Dec, 2024, 12:05 am Greg Sabino Mullane, <htamfids@gmail.com> wrote:
On Thu, Dec 12, 2024 at 12:52 PM Mani Sankar <manisankar01695@gmail.com> wrote:
One possible reason I can think of is setting the session_replication_role to replica do some insert that violates the constraints and then set it back to orgin.

session_replication_role can disable triggers and rules, but primary keys will still be enforced.

Cheers,
Greg
 

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