On Thu, Dec 12, 2024 at 12:52 PM Mani Sankar <manisankar01695(at)gmail(dot)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