pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix bugs in RelationGetPartitionDispatchInfo.
4+ messages / 4 participants
[nested] [flat]

* pgsql: Fix bugs in RelationGetPartitionDispatchInfo.
@ 2016-12-13 16:32  Robert Haas <rhaas@postgresql.org>
  0 siblings, 1 reply; 4+ messages in thread

From: Robert Haas @ 2016-12-13 16:32 UTC (permalink / raw)
  To: pgsql-committers

Fix bugs in RelationGetPartitionDispatchInfo.

The previous coding was not quite right for cases involving multiple
levels of partitioning.

Amit Langote

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/a25665088d812d08bb888e961f208eaebf522050

Modified Files
--------------
src/backend/catalog/partition.c | 39 +++++++++++++++++++++++++++++++++------
1 file changed, 33 insertions(+), 6 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: pgsql: Fix bugs in RelationGetPartitionDispatchInfo.
@ 2016-12-14 06:18  Alexander Korotkov <a.korotkov@postgrespro.ru>
  parent: Robert Haas <rhaas@postgresql.org>
  0 siblings, 2 replies; 4+ messages in thread

From: Alexander Korotkov @ 2016-12-14 06:18 UTC (permalink / raw)
  To: Robert Haas <rhaas@postgresql.org>; +Cc: pgsql-committers

Hmm, Dmitry Ivanov spotted this bug [1].  And he posted this patch with
only difference of variables naming and comments [2].  But he is not
mentioned in commit message. That doesn't look fine.

1.
https://www.postgresql.org/message-id/e6c56fe9-4b87-4f64-ac6f-bc99675f3f9e%40postgrespro.ru
2.
https://www.postgresql.org/message-id/0d5b64c9-fa05-4dab-93e7-56576d1193ca%40postgrespro.ru

------
Alexander Korotkov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company

On Tue, Dec 13, 2016 at 7:32 PM, Robert Haas <rhaas@postgresql.org> wrote:

> Fix bugs in RelationGetPartitionDispatchInfo.
>
> The previous coding was not quite right for cases involving multiple
> levels of partitioning.
>
> Amit Langote
>
> Branch
> ------
> master
>
> Details
> -------
> http://git.postgresql.org/pg/commitdiff/a25665088d812d08bb888e961f208e
> aebf522050
>
> Modified Files
> --------------
> src/backend/catalog/partition.c | 39 ++++++++++++++++++++++++++++++
> +++------
> 1 file changed, 33 insertions(+), 6 deletions(-)
>
>
> --
> Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-committers
>

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: pgsql: Fix bugs in RelationGetPartitionDispatchInfo.
@ 2016-12-14 06:47  Robert Haas <robertmhaas@gmail.com>
  parent: Alexander Korotkov <a.korotkov@postgrespro.ru>
  1 sibling, 0 replies; 4+ messages in thread

From: Robert Haas @ 2016-12-14 06:47 UTC (permalink / raw)
  To: Alexander Korotkov <a.korotkov@postgrespro.ru>; +Cc: pgsql-committers

On Wed, Dec 14, 2016 at 1:18 AM, Alexander Korotkov
<a.korotkov@postgrespro.ru> wrote:
> Hmm, Dmitry Ivanov spotted this bug [1].  And he posted this patch with only
> difference of variables naming and comments [2].  But he is not mentioned in
> commit message. That doesn't look fine.
>
> 1.
> https://www.postgresql.org/message-id/e6c56fe9-4b87-4f64-ac6f-bc99675f3f9e%40postgrespro.ru
> 2.
> https://www.postgresql.org/message-id/0d5b64c9-fa05-4dab-93e7-56576d1193ca%40postgrespro.ru

You are correct. Sorry about that.  I try to be careful about such
things but obviously I dropped the ball on this one.

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


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: pgsql: Fix bugs in RelationGetPartitionDispatchInfo.
@ 2016-12-14 06:55  Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
  parent: Alexander Korotkov <a.korotkov@postgrespro.ru>
  1 sibling, 0 replies; 4+ messages in thread

From: Amit Langote @ 2016-12-14 06:55 UTC (permalink / raw)
  To: Alexander Korotkov <a.korotkov@postgrespro.ru>; Robert Haas <rhaas@postgresql.org>; +Cc: pgsql-committers


Hi Alexander,

On 2016/12/14 15:18, Alexander Korotkov wrote:
> Hmm, Dmitry Ivanov spotted this bug [1].  And he posted this patch with
> only difference of variables naming and comments [2].  But he is not
> mentioned in commit message. That doesn't look fine.

I apologize for my part in failing to repeat in my description of the
patch that I sent (which might perhaps be the only thing Robert saw) that
Dmitry is the original author of the patch, in addition to being the
discoverer of the bug.  Thanks again!

Thanks,
Amit




-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2016-12-14 06:55 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-12-13 16:32 pgsql: Fix bugs in RelationGetPartitionDispatchInfo. Robert Haas <rhaas@postgresql.org>
2016-12-14 06:18 ` Alexander Korotkov <a.korotkov@postgrespro.ru>
2016-12-14 06:47   ` Robert Haas <robertmhaas@gmail.com>
2016-12-14 06:55   ` Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>

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