Re: [HACKERS] Optional message to user when terminating/cancelling backend

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: Andres Freund <andres(at)anarazel(dot)de>, Onder Kalaci <onder(at)citusdata(dot)com>, PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] Optional message to user when terminating/cancelling backend
Date: 2018-07-24 20:45:33
Message-ID: 7C3EDF5C-7AC2-40DD-99E8-4CADD221598F@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 6 Jul 2018, at 14:12, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)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 Content-Type Size
0001-Refactor-backend-signalling-code-v13.patch application/octet-stream 14.5 KB
0002-Support-optional-message-in-backend-cancel-terminate-v13.patch application/octet-stream 23.2 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2018-07-24 20:46:41 Re: [HACKERS] Optional message to user when terminating/cancelling backend
Previous Message matshyeq 2018-07-24 20:16:22 Enhancement request: enable FIRST/LAST_value() also as a regular aggregate (not only as windowing function)