Re: [HACKERS] Optional message to user when terminating/cancelling backend
Daniel Gustafsson <daniel@yesql.se>
From: Daniel Gustafsson <daniel@yesql.se>
To: Pavel Stehule <pavel.stehule@gmail.com>
Cc: Andres Freund <andres@anarazel.de>,
Onder Kalaci <onder@citusdata.com>,
PostgreSQL mailing lists <pgsql-hackers@postgresql.org>
Date: 2018-07-24T20:45:33Z
Lists: pgsql-hackers
Attachments
- 0001-Refactor-backend-signalling-code-v13.patch (application/octet-stream) patch v13-0001
- 0002-Support-optional-message-in-backend-cancel-terminate-v13.patch (application/octet-stream) patch v13-0002
> 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
Commits
-
Refactor user-facing SQL functions signalling backends
- 09921f397b84 12.0 landed
-
Introduce 64-bit hash functions with a 64-bit seed.
- 81c5e46c490e 11.0 cited