Re: restoring user id and SecContext before logging error in ri_PlanCheck - Mailing list pgsql-hackers

From Zhihong Yu
Subject Re: restoring user id and SecContext before logging error in ri_PlanCheck
Date
Msg-id CALNJ-vQuDp-DwbWapeHRNnyKtT00ZH_xOp0AfUV+ShES-qPKNQ@mail.gmail.com
Whole thread Raw
In response to restoring user id and SecContext before logging error in ri_PlanCheck  (Zhihong Yu <zyu@yugabyte.com>)
Responses Re: restoring user id and SecContext before logging error in ri_PlanCheck
List pgsql-hackers
Looking down in ri_PerformCheck(), I see there may be case where error from SPI_execute_snapshot() would skip restoring UID.

Please look at patch v2 which tried to handle such case.

Thanks
Attachment

pgsql-hackers by date:

Previous
From: Zhihong Yu
Date:
Subject: restoring user id and SecContext before logging error in ri_PlanCheck
Next
From: "Daniel Verite"
Date:
Subject: Re: psql: Add command to use extended query protocol