From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | Peter Geoghegan <pg(at)heroku(dot)com> |
Cc: | Jeff Janes <jeff(dot)janes(at)gmail(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Re: Reusing abbreviated keys during second pass of ordered [set] aggregates |
Date: | 2015-12-16 17:36:40 |
Message-ID: | CA+TgmoY0CQm8ihs6JW-N_gO15YLBd_m+vk6N0z+2V7japNV1JA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, Dec 9, 2015 at 5:15 PM, Peter Geoghegan <pg(at)heroku(dot)com> wrote:
> On Wed, Dec 9, 2015 at 11:31 AM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
>> I find the references to a "void" representation in this patch to be
>> completely opaque. I see that there are some such references in
>> tuplesort.c already, and most likely they were put there by commits
>> that I did, so I guess I have nobody but myself to blame, but I don't
>> know what this means, and I don't think we should let this terminology
>> proliferate.
>>
>> My understanding is that the "void" representation is intended to
>> whatever Datum we originally got, which might be a pointer. Why not
>> just say that instead of referring to it this way?
>
> That isn't what is intended. "void" is the state that macros like
> index_getattr() leave NULL leading attributes (that go in the
> SortTuple.datum1 field) in.
What kind of state is that? Can't we define this in terms of what it
is rather than how it gets that way?
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2015-12-16 17:52:37 | Re: Cluster "stuck" in "not accepting commands to avoid wraparound data loss" |
Previous Message | Andres Freund | 2015-12-16 17:32:14 | Re: fix for readline terminal size problems when window is resized with open pager |