Lists: | pgsql-hackers |
---|
From: | David Rowley <david(dot)rowley(at)2ndquadrant(dot)com> |
---|---|
To: | Robert Haas <robertmhaas(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, andreas(at)proxel(dot)se |
Subject: | bug in citext's upgrade script for parallel aggregates |
Date: | 2016-06-24 11:31:01 |
Message-ID: | CAKJS1f8zOoDN1nxhYXi08UWeTUNNrmaVZ6Jg1vhWLCpRdL5_gg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Seems there's a small error in the upgrade script for citext for 1.1
to 1.2 which will cause min(citext) not to be parallel enabled.
max(citext)'s combinefunc is first set incorrectly, but then updated
to the correct value. I assume it was meant to set the combine
function for min(citext) instead.
Fix attached. I've assumed that because we're still in beta that we
can get away with this fix rather than making a 1.3 version to fix the
issue.
--
David Rowley http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
Attachment | Content-Type | Size |
---|---|---|
citext_1.1_to_1.2_upgrade_fix.patch | application/octet-stream | 600 bytes |
From: | Andreas Karlsson <andreas(at)proxel(dot)se> |
---|---|
To: | David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: bug in citext's upgrade script for parallel aggregates |
Date: | 2016-06-25 07:44:18 |
Message-ID: | a3677a09-ed76-e3b1-23e2-19a1c02173a7@proxel.se |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
On 06/24/2016 01:31 PM, David Rowley wrote:
> Seems there's a small error in the upgrade script for citext for 1.1
> to 1.2 which will cause min(citext) not to be parallel enabled.
>
> max(citext)'s combinefunc is first set incorrectly, but then updated
> to the correct value. I assume it was meant to set the combine
> function for min(citext) instead.
>
> Fix attached. I've assumed that because we're still in beta that we
> can get away with this fix rather than making a 1.3 version to fix the
> issue.
Yes, this is indeed a bug.
Andreas
From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | Andreas Karlsson <andreas(at)proxel(dot)se> |
Cc: | David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: bug in citext's upgrade script for parallel aggregates |
Date: | 2016-06-29 15:49:49 |
Message-ID: | CA+Tgmoan4qgnj03-xpzPoSKh8AMbmF-sT5Vv7f-MCGt4yThBNA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
On Sat, Jun 25, 2016 at 3:44 AM, Andreas Karlsson <andreas(at)proxel(dot)se> wrote:
> On 06/24/2016 01:31 PM, David Rowley wrote:
>> Seems there's a small error in the upgrade script for citext for 1.1
>> to 1.2 which will cause min(citext) not to be parallel enabled.
>>
>> max(citext)'s combinefunc is first set incorrectly, but then updated
>> to the correct value. I assume it was meant to set the combine
>> function for min(citext) instead.
>>
>> Fix attached. I've assumed that because we're still in beta that we
>> can get away with this fix rather than making a 1.3 version to fix the
>> issue.
>
> Yes, this is indeed a bug.
Since we've already released beta2, I think we need to do a whole new
extension version. We treated beta1 as a sufficiently-significant
event to mandate a version bump, so we should do the same here.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From: | David Rowley <david(dot)rowley(at)2ndquadrant(dot)com> |
---|---|
To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
Cc: | Andreas Karlsson <andreas(at)proxel(dot)se>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: bug in citext's upgrade script for parallel aggregates |
Date: | 2016-07-09 03:42:19 |
Message-ID: | CAKJS1f_mnyERTn2uAONOFWeerKX7Z4jXcYxba=UhUQEwfE5NXQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
On 30 June 2016 at 03:49, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
> On Sat, Jun 25, 2016 at 3:44 AM, Andreas Karlsson <andreas(at)proxel(dot)se> wrote:
>> On 06/24/2016 01:31 PM, David Rowley wrote:
>>> Seems there's a small error in the upgrade script for citext for 1.1
>>> to 1.2 which will cause min(citext) not to be parallel enabled.
>>>
>>> max(citext)'s combinefunc is first set incorrectly, but then updated
>>> to the correct value. I assume it was meant to set the combine
>>> function for min(citext) instead.
>>>
>>> Fix attached. I've assumed that because we're still in beta that we
>>> can get away with this fix rather than making a 1.3 version to fix the
>>> issue.
>>
>> Yes, this is indeed a bug.
>
> Since we've already released beta2, I think we need to do a whole new
> extension version. We treated beta1 as a sufficiently-significant
> event to mandate a version bump, so we should do the same here.
Ok, good point. Patch attached.
--
David Rowley http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
Attachment | Content-Type | Size |
---|---|---|
0001-Add-missing-combine-function-for-min-citext.patch | text/x-patch | 29.0 KB |
From: | Andreas Karlsson <andreas(at)proxel(dot)se> |
---|---|
To: | David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: bug in citext's upgrade script for parallel aggregates |
Date: | 2016-07-14 00:00:59 |
Message-ID: | 8d67a8e0-b0a7-f46b-8e2e-8055e38245e5@proxel.se |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
On 07/09/2016 05:42 AM, David Rowley wrote:
> On 30 June 2016 at 03:49, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
>> On Sat, Jun 25, 2016 at 3:44 AM, Andreas Karlsson <andreas(at)proxel(dot)se> wrote:
>>> On 06/24/2016 01:31 PM, David Rowley wrote:
>>>> Seems there's a small error in the upgrade script for citext for 1.1
>>>> to 1.2 which will cause min(citext) not to be parallel enabled.
>>>>
>>>> max(citext)'s combinefunc is first set incorrectly, but then updated
>>>> to the correct value. I assume it was meant to set the combine
>>>> function for min(citext) instead.
>>>>
>>>> Fix attached. I've assumed that because we're still in beta that we
>>>> can get away with this fix rather than making a 1.3 version to fix the
>>>> issue.
>>>
>>> Yes, this is indeed a bug.
>>
>> Since we've already released beta2, I think we need to do a whole new
>> extension version. We treated beta1 as a sufficiently-significant
>> event to mandate a version bump, so we should do the same here.
>
> Ok, good point. Patch attached.
Thanks!
I tested the patch and it looks good.
Andreas
From: | David Rowley <david(dot)rowley(at)2ndquadrant(dot)com> |
---|---|
To: | Andreas Karlsson <andreas(at)proxel(dot)se> |
Cc: | Robert Haas <robertmhaas(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: bug in citext's upgrade script for parallel aggregates |
Date: | 2016-07-23 10:22:41 |
Message-ID: | CAKJS1f8Rbbf=5JAx3cti2F=xVKM=StRNSZCikQtDEv4NuPMwPw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
On 14 July 2016 at 02:00, Andreas Karlsson <andreas(at)proxel(dot)se> wrote:
> On 07/09/2016 05:42 AM, David Rowley wrote:
>> On 30 June 2016 at 03:49, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
>>> Since we've already released beta2, I think we need to do a whole new
>>> extension version. We treated beta1 as a sufficiently-significant
>>> event to mandate a version bump, so we should do the same here.
>>
>>
>> Ok, good point. Patch attached.
>
>
> Thanks!
>
> I tested the patch and it looks good.
Thanks for looking.
I've added this to the open items list so that it does not get forgotten about.
--
David Rowley http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
From: | Noah Misch <noah(at)leadboat(dot)com> |
---|---|
To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
Cc: | David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>, Andreas Karlsson <andreas(at)proxel(dot)se>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: bug in citext's upgrade script for parallel aggregates |
Date: | 2016-07-26 07:48:16 |
Message-ID: | 20160726074816.GA2063714@tornado.leadboat.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
On Thu, Jul 14, 2016 at 02:00:59AM +0200, Andreas Karlsson wrote:
> On 07/09/2016 05:42 AM, David Rowley wrote:
> >On 30 June 2016 at 03:49, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
> >>On Sat, Jun 25, 2016 at 3:44 AM, Andreas Karlsson <andreas(at)proxel(dot)se> wrote:
> >>>On 06/24/2016 01:31 PM, David Rowley wrote:
> >>>>Seems there's a small error in the upgrade script for citext for 1.1
> >>>>to 1.2 which will cause min(citext) not to be parallel enabled.
> >>>>
> >>>>max(citext)'s combinefunc is first set incorrectly, but then updated
> >>>>to the correct value. I assume it was meant to set the combine
> >>>>function for min(citext) instead.
> >>>>
> >>>>Fix attached. I've assumed that because we're still in beta that we
> >>>>can get away with this fix rather than making a 1.3 version to fix the
> >>>>issue.
> >>>
> >>>Yes, this is indeed a bug.
> >>
> >>Since we've already released beta2, I think we need to do a whole new
> >>extension version. We treated beta1 as a sufficiently-significant
> >>event to mandate a version bump, so we should do the same here.
> >
> >Ok, good point. Patch attached.
>
> Thanks!
>
> I tested the patch and it looks good.
[Action required within 72 hours. This is a generic notification.]
The above-described topic is currently a PostgreSQL 9.6 open item. Robert,
since you committed the patch believed to have created it, you own this open
item. If some other commit is more relevant or if this does not belong as a
9.6 open item, please let us know. Otherwise, please observe the policy on
open item ownership[1] and send a status update within 72 hours of this
message. Include a date for your subsequent status update. Testers may
discover new open items at any time, and I want to plan to get them all fixed
well in advance of shipping 9.6rc1. Consequently, I will appreciate your
efforts toward speedy resolution. Thanks.
[1] http://www.postgresql.org/message-id/20160527025039.GA447393@tornado.leadboat.com
From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | Noah Misch <noah(at)leadboat(dot)com> |
Cc: | David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>, Andreas Karlsson <andreas(at)proxel(dot)se>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: bug in citext's upgrade script for parallel aggregates |
Date: | 2016-07-26 19:39:35 |
Message-ID: | CA+Tgmobwg-MZPiJZuZS46W8DHRdzBxVawBGBRzvO-FKPb57eEw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
On Tue, Jul 26, 2016 at 3:48 AM, Noah Misch <noah(at)leadboat(dot)com> wrote:
> On Thu, Jul 14, 2016 at 02:00:59AM +0200, Andreas Karlsson wrote:
>> On 07/09/2016 05:42 AM, David Rowley wrote:
>> >On 30 June 2016 at 03:49, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
>> >>On Sat, Jun 25, 2016 at 3:44 AM, Andreas Karlsson <andreas(at)proxel(dot)se> wrote:
>> >>>On 06/24/2016 01:31 PM, David Rowley wrote:
>> >>>>Seems there's a small error in the upgrade script for citext for 1.1
>> >>>>to 1.2 which will cause min(citext) not to be parallel enabled.
>> >>>>
>> >>>>max(citext)'s combinefunc is first set incorrectly, but then updated
>> >>>>to the correct value. I assume it was meant to set the combine
>> >>>>function for min(citext) instead.
>> >>>>
>> >>>>Fix attached. I've assumed that because we're still in beta that we
>> >>>>can get away with this fix rather than making a 1.3 version to fix the
>> >>>>issue.
>> >>>
>> >>>Yes, this is indeed a bug.
>> >>
>> >>Since we've already released beta2, I think we need to do a whole new
>> >>extension version. We treated beta1 as a sufficiently-significant
>> >>event to mandate a version bump, so we should do the same here.
>> >
>> >Ok, good point. Patch attached.
>>
>> Thanks!
>>
>> I tested the patch and it looks good.
>
> [Action required within 72 hours. This is a generic notification.]
>
> The above-described topic is currently a PostgreSQL 9.6 open item. Robert,
> since you committed the patch believed to have created it, you own this open
> item. If some other commit is more relevant or if this does not belong as a
> 9.6 open item, please let us know. Otherwise, please observe the policy on
> open item ownership[1] and send a status update within 72 hours of this
> message. Include a date for your subsequent status update. Testers may
> discover new open items at any time, and I want to plan to get them all fixed
> well in advance of shipping 9.6rc1. Consequently, I will appreciate your
> efforts toward speedy resolution. Thanks.
Committed the patch.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company