oversight in parallel aggregate - Mailing list pgsql-hackers

From Robert Haas
Subject oversight in parallel aggregate
Date
Msg-id CA+TgmoY41dpHOEXkGStvHj0dAh4cRvy_XjXFEdGsPoCSfy+EtA@mail.gmail.com
Whole thread Raw
Responses Re: oversight in parallel aggregate  (David Rowley <david.rowley@2ndquadrant.com>)
Re: oversight in parallel aggregate  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
One of my EDB colleagues, while in the process of refactoring some
unrelated Advanced Server code, discovered that (1) there's no way to
mark an aggregate as anything other than parallel-unsafe but (2) it
doesn't matter because has_parallel_hazard ignores Aggrefs anyway.
These mistakes cancel each other out (sorta) if all of your aggregates
happen to be parallel-safe, but otherwise not so much.  Barring
objections, I intend to speedily apply the attached patch to fix this.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Attachment

pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: WIP: Covering + unique indexes.
Next
From: Robbie Harwood
Date:
Subject: Re: [PATCH v12] GSSAPI encryption support