Re: Patch to allow users to kill their own queries - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Patch to allow users to kill their own queries
Date
Msg-id 22604.1325613563@sss.pgh.pa.us
Whole thread Raw
In response to Re: Patch to allow users to kill their own queries  (Noah Misch <noah@leadboat.com>)
Responses Re: Patch to allow users to kill their own queries  (Greg Smith <greg@2ndQuadrant.com>)
List pgsql-hackers
Noah Misch <noah@leadboat.com> writes:
> Regarding the other message, avoid composing a translated message from
> independently-translated parts.

Yes.  I haven't looked at the patch, but I wonder whether it wouldn't be
better to dodge both of these problems by having the subroutine return a
success/failure result code, so that the actual ereport can be done at
an outer level where the full message (and hint) can be written
directly.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: ALTER TABLE lock strength reduction patch is unsafe
Next
From: Simon Riggs
Date:
Subject: Re: Should I implement DROP INDEX CONCURRENTLY?