Lists: | pgsql-hackers |
---|
From: | David Rowley <david(dot)rowley(at)2ndquadrant(dot)com> |
---|---|
To: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Fixup some misusage of appendStringInfo and friends |
Date: | 2017-04-19 03:43:14 |
Message-ID: | CAKJS1f9APLTZRomOSndx_nFcFNfUxncz=p2_-1wr0hrzT4ELKg@mail.gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Lists: | pgsql-hackers |
The attached cleans up a few small misusages of appendStringInfo and
related functions.
Some similar work was done in,
f92d6a540ac443f85f0929b284edff67da14687a
d02f16470f117db3038dbfd87662d5f0eb5a2a9b
cacbdd78106526d7c4f11f90b538f96ba8696fb0
so the majority of these should all be new misuseages.
--
David Rowley http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
Attachment | Content-Type | Size |
---|---|---|
appendStringInfo_fixes.patch | application/octet-stream | 15.6 KB |
From: | Ashutosh Bapat <ashutosh(dot)bapat(at)enterprisedb(dot)com> |
---|---|
To: | David Rowley <david(dot)rowley(at)2ndquadrant(dot)com> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Fixup some misusage of appendStringInfo and friends |
Date: | 2017-04-19 12:42:57 |
Message-ID: | CAFjFpReYq7EyWT4JFDqNeL418io1D6sA6OzM5krKoqX52kkRnA@mail.gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Lists: | pgsql-hackers |
I reviewed the patch. It compiles clean, make check-world passes. I do
not see any issue with it.
On Wed, Apr 19, 2017 at 9:13 AM, David Rowley
<david(dot)rowley(at)2ndquadrant(dot)com> wrote:
> The attached cleans up a few small misusages of appendStringInfo and
> related functions.
>
> Some similar work was done in,
>
> f92d6a540ac443f85f0929b284edff67da14687a
> d02f16470f117db3038dbfd87662d5f0eb5a2a9b
> cacbdd78106526d7c4f11f90b538f96ba8696fb0
>
> so the majority of these should all be new misuseages.
>
> --
> David Rowley http://www.2ndQuadrant.com/
> PostgreSQL Development, 24x7 Support, Training & Services
>
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers
>
--
Best Wishes,
Ashutosh Bapat
EnterpriseDB Corporation
The Postgres Database Company
From: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> |
---|---|
To: | Ashutosh Bapat <ashutosh(dot)bapat(at)enterprisedb(dot)com>, David Rowley <david(dot)rowley(at)2ndquadrant(dot)com> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Fixup some misusage of appendStringInfo and friends |
Date: | 2017-04-26 18:41:19 |
Message-ID: | [email protected] |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Lists: | pgsql-hackers |
On 4/19/17 08:42, Ashutosh Bapat wrote:
> I reviewed the patch. It compiles clean, make check-world passes. I do
> not see any issue with it.
Looks reasonable. Let's keep it for the next commit fest.
>
> On Wed, Apr 19, 2017 at 9:13 AM, David Rowley
> <david(dot)rowley(at)2ndquadrant(dot)com> wrote:
>> The attached cleans up a few small misusages of appendStringInfo and
>> related functions.
>>
>> Some similar work was done in,
>>
>> f92d6a540ac443f85f0929b284edff67da14687a
>> d02f16470f117db3038dbfd87662d5f0eb5a2a9b
>> cacbdd78106526d7c4f11f90b538f96ba8696fb0
>>
>> so the majority of these should all be new misuseages.
>>
>> --
>> David Rowley http://www.2ndQuadrant.com/
>> PostgreSQL Development, 24x7 Support, Training & Services
>>
>>
>> --
>> Sent via pgsql-hackers mailing list (pgsql-hackers(at)postgresql(dot)org)
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgsql-hackers
>>
>
>
>
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
From: | David Rowley <david(dot)rowley(at)2ndquadrant(dot)com> |
---|---|
To: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> |
Cc: | Ashutosh Bapat <ashutosh(dot)bapat(at)enterprisedb(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Fixup some misusage of appendStringInfo and friends |
Date: | 2017-04-27 00:14:29 |
Message-ID: | CAKJS1f-nsri6okVwPdsha4fQQU-0e=1FtYYMzs+yt0B_SRs9Cg@mail.gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Lists: | pgsql-hackers |
On 27 April 2017 at 06:41, Peter Eisentraut
<peter(dot)eisentraut(at)2ndquadrant(dot)com> wrote:
> On 4/19/17 08:42, Ashutosh Bapat wrote:
>> I reviewed the patch. It compiles clean, make check-world passes. I do
>> not see any issue with it.
>
> Looks reasonable. Let's keep it for the next commit fest.
Thank you to both of you for looking. I'd thought that maybe the new
stuff in PG10 should be fixed before the release. If we waited, and
fix in PG11 then backpatching is more of a pain.
However, I wasn't careful in the patch to touch only new to PG10 code.
I'll defer to your better judgment and add to the next 'fest.
Thanks
--
David Rowley http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
From: | Heikki Linnakangas <hlinnaka(at)iki(dot)fi> |
---|---|
To: | David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>, Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> |
Cc: | Ashutosh Bapat <ashutosh(dot)bapat(at)enterprisedb(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Fixup some misusage of appendStringInfo and friends |
Date: | 2017-07-13 18:07:44 |
Message-ID: | [email protected] |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Lists: | pgsql-hackers |
On 04/27/2017 03:14 AM, David Rowley wrote:
> On 27 April 2017 at 06:41, Peter Eisentraut
> <peter(dot)eisentraut(at)2ndquadrant(dot)com> wrote:
>> On 4/19/17 08:42, Ashutosh Bapat wrote:
>>> I reviewed the patch. It compiles clean, make check-world passes. I do
>>> not see any issue with it.
>>
>> Looks reasonable. Let's keep it for the next commit fest.
>
> Thank you to both of you for looking. I'd thought that maybe the new
> stuff in PG10 should be fixed before the release. If we waited, and
> fix in PG11 then backpatching is more of a pain.
>
> However, I wasn't careful in the patch to touch only new to PG10 code.
>
> I'll defer to your better judgment and add to the next 'fest.
I think that's a very good argument. Cleaning up code that's new in this
version seems like a fair game, and a good idea. The places that are not
new in PostgreSQL 10 are more questionable, but seems harmless enough
anyway.
Did you have an outright objection to this, Peter? The patch looks good
to me at a quick glance, I think we should commit this now.
- Heikki
From: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> |
---|---|
To: | David Rowley <david(dot)rowley(at)2ndquadrant(dot)com> |
Cc: | Ashutosh Bapat <ashutosh(dot)bapat(at)enterprisedb(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Fixup some misusage of appendStringInfo and friends |
Date: | 2017-08-16 03:38:49 |
Message-ID: | [email protected] |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Lists: | pgsql-hackers |
On 4/26/17 20:14, David Rowley wrote:
> On 27 April 2017 at 06:41, Peter Eisentraut
> <peter(dot)eisentraut(at)2ndquadrant(dot)com> wrote:
>> On 4/19/17 08:42, Ashutosh Bapat wrote:
>>> I reviewed the patch. It compiles clean, make check-world passes. I do
>>> not see any issue with it.
>>
>> Looks reasonable. Let's keep it for the next commit fest.
>
> Thank you to both of you for looking. I'd thought that maybe the new
> stuff in PG10 should be fixed before the release. If we waited, and
> fix in PG11 then backpatching is more of a pain.
>
> However, I wasn't careful in the patch to touch only new to PG10 code.
>
> I'll defer to your better judgment and add to the next 'fest.
committed
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
From: | David Rowley <david(dot)rowley(at)2ndquadrant(dot)com> |
---|---|
To: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> |
Cc: | Ashutosh Bapat <ashutosh(dot)bapat(at)enterprisedb(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Fixup some misusage of appendStringInfo and friends |
Date: | 2017-08-16 03:51:54 |
Message-ID: | CAKJS1f_ESJNJOivnLqTOCE_mc+ndqvkCRmyeH+5RL8vPWJy=nA@mail.gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Lists: | pgsql-hackers |
On 16 August 2017 at 15:38, Peter Eisentraut
<peter(dot)eisentraut(at)2ndquadrant(dot)com> wrote:
> committed
Thanks!
--
David Rowley http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services