Re: Race conditions during parallel worker (unclean) exit - Mailing list pgsql-hackers

From Antonin Houska
Subject Re: Race conditions during parallel worker (unclean) exit
Date
Msg-id 15111.1788979352@localhost
Whole thread
In response to Race conditions during parallel worker (unclean) exit  (Antonin Houska <ah@cybertec.at>)
List pgsql-hackers
Sami Imseih <samimseih.pg@gmail.com> wrote:

> It seems cleaner to introduce a separate message for this case, maybe
> "PqMsg_ParallelAborted", and keep the existing
> "ERROR: lost connection to parallel worker" message.

I'm not sure this is worth adjusting the FE/BE protocol. I'd prefer regular
ERROR message (PqMsg_ErrorResponse), but only in some minimalistic form. The
worker would only send the message, w/o doing any error handling itself.

-- 
Antonin Houska
Web: https://www.cybertec-postgresql.com



Attachment

pgsql-hackers by date:

Previous
From: Noah Misch
Date:
Subject: Re: CREATE SCHEMA ... CREATE DOMAIN support
Next
From: Masahiko Sawada
Date:
Subject: Re: Report index currently being vacuumed in pg_stat_progress_vacuum