Re: Restore CurrentUserId only if 'prevUser' is valid when aborttransaction - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Restore CurrentUserId only if 'prevUser' is valid when aborttransaction
Date
Msg-id 20181114075151.GD13659@paquier.xyz
Whole thread Raw
In response to Re: Restore CurrentUserId only if 'prevUser' is valid when abort transaction  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Tue, Nov 13, 2018 at 04:08:04PM -0500, Tom Lane wrote:
> Well, if it is an issue then it's an issue for back branches too.
> It's fine, I think, as long as the warning stays a warning ...
> but there are lots of ways in which trying to print a warning
> might turn into an error.

At the end I have agreed with this position, and patched back-branches
so as they use an assertion instead of the elog().  So committed.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: DSM segment handle generation in background workers
Next
From: Noah Misch
Date:
Subject: Re: DSM segment handle generation in background workers