Re: [HACKERS] Optional message to user when terminating/cancellingbackend - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: [HACKERS] Optional message to user when terminating/cancellingbackend
Date
Msg-id 7C3EDF5C-7AC2-40DD-99E8-4CADD221598F@yesql.se
Whole thread Raw
In response to Re: [HACKERS] Optional message to user when terminating/cancelling backend  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: [HACKERS] Optional message to user when terminating/cancellingbackend  (Heikki Linnakangas <hlinnaka@iki.fi>)
List pgsql-hackers
> On 6 Jul 2018, at 14:12, Pavel Stehule <pavel.stehule@gmail.com> wrote:

> I am testing last patch and looks so truncating message and appending "..." doesn't work.

Thanks for testing, and sorry about the late response.

> The slot->len hold trimmed length, not original length.

Fixed in the attached rebased patchset together with a few small touch-ups such
as fixed documentation.

cheers ./daniel


Attachment

pgsql-hackers by date:

Previous
From: matshyeq
Date:
Subject: Enhancement request: enable FIRST/LAST_value() also as a regularaggregate (not only as windowing function)
Next
From: Daniel Gustafsson
Date:
Subject: Re: [HACKERS] Optional message to user when terminating/cancellingbackend