From: Tom Lane <tgl@sss.pgh.pa.us>
To: David Rowley <david.rowley@2ndquadrant.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: Rethinking representation of partial-aggregate steps
Date: Thu, 23 Jun 2016 19:35:03 -0400
Message-ID: <12297.1466724903@sss.pgh.pa.us> (raw)
In-Reply-To: <CAKJS1f-3nWiVfGm0zxx2Wrxq0kw1JdGmvZvKwnyxm_dFpU-EVw@mail.gmail.com>
References: <29309.1466699160@sss.pgh.pa.us>
<CA+TgmoYNZiCbbrmy15VWGMGH8qFhwixTM78WeuEWm8gP2x89rQ@mail.gmail.com>
<CAKJS1f-3nWiVfGm0zxx2Wrxq0kw1JdGmvZvKwnyxm_dFpU-EVw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
David Rowley <david.rowley@2ndquadrant.com> writes:
> As for the above proposal, I do agree that it'll be cleaner with bit
> flags, I just really don't see the need for the AGGTYPE_* alias
> macros. For me it's easier to read if each option is explicitly listed
> similar to how pull_var_clause() is done, e.g:
That does not sound to me like it does anything to address the issue of
documenting which combinations of flags are sensible/supported. I prefer
something like the enum approach I suggested further downthread.
regards, tom lane
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, david.rowley@2ndquadrant.com, robertmhaas@gmail.com
Subject: Re: Rethinking representation of partial-aggregate steps
In-Reply-To: <12297.1466724903@sss.pgh.pa.us>
References: <29309.1466699160@sss.pgh.pa.us> <CA+TgmoYNZiCbbrmy15VWGMGH8qFhwixTM78WeuEWm8gP2x89rQ@mail.gmail.com> <CAKJS1f-3nWiVfGm0zxx2Wrxq0kw1JdGmvZvKwnyxm_dFpU-EVw@mail.gmail.com> <12297.1466724903@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox