pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feedpgsql: Set partitioned_rels appropriately when UNION ALL is used.
4+ messages / 3 participants
[nested] [flat]
Commits from this thread:
2017-09-20 7f3a3312ab Fix typo.
* pgsql: Set partitioned_rels appropriately when UNION ALL is used.
@ 2017-09-14 15:06 Robert Haas <rhaas@postgresql.org>
2017-09-19 23:59 ` Re: pgsql: Set partitioned_rels appropriately when UNION ALL is used. Thomas Munro <thomas.munro@enterprisedb.com>
0 siblings, 1 reply; 4+ messages in thread
From: Robert Haas @ 2017-09-14 15:06 UTC (permalink / raw)
To: pgsql-committers
Set partitioned_rels appropriately when UNION ALL is used.
In most cases, this omission won't matter, because the appropriate
locks will have been acquired during parse/plan or by AcquireExecutorLocks.
But it's a bug all the same.
Report by Ashutosh Bapat. Patch by me, reviewed by Amit Langote.
Discussion: http://postgr.es/m/CAFjFpRdHb_ZnoDTuBXqrudWXh3H1ibLkr6nHsCFT96fSK4DXtA@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/1555566d9ee1a996a28cc4601840a67831112695
Modified Files
--------------
src/backend/optimizer/path/allpaths.c | 42 +++++++++++++++++++++++++++++++----
src/backend/optimizer/plan/planner.c | 6 ++---
2 files changed, 40 insertions(+), 8 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: Set partitioned_rels appropriately when UNION ALL is used.
2017-09-14 15:06 pgsql: Set partitioned_rels appropriately when UNION ALL is used. Robert Haas <rhaas@postgresql.org>
@ 2017-09-19 23:59 ` Thomas Munro <thomas.munro@enterprisedb.com>
2017-09-20 14:12 ` Re: pgsql: Set partitioned_rels appropriately when UNION ALL is used. Robert Haas <robertmhaas@gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Munro @ 2017-09-19 23:59 UTC (permalink / raw)
To: Robert Haas <rhaas@postgresql.org>; +Cc: pgsql-committers
On Fri, Sep 15, 2017 at 3:06 AM, Robert Haas <rhaas@postgresql.org> wrote:
> Set partitioned_rels appropriately when UNION ALL is used.
>
> In most cases, this omission won't matter, because the appropriate
> locks will have been acquired during parse/plan or by AcquireExecutorLocks.
> But it's a bug all the same.
>
> Report by Ashutosh Bapat. Patch by me, reviewed by Amit Langote.
>
> Discussion: http://postgr.es/m/CAFjFpRdHb_ZnoDTuBXqrudWXh3H1ibLkr6nHsCFT96fSK4DXtA@mail.gmail.com
>
> Branch
> ------
> master
>
> Details
> -------
> https://git.postgresql.org/pg/commitdiff/1555566d9ee1a996a28cc4601840a67831112695
>
> Modified Files
> --------------
> src/backend/optimizer/path/allpaths.c | 42 +++++++++++++++++++++++++++++++----
> src/backend/optimizer/plan/planner.c | 6 ++---
> 2 files changed, 40 insertions(+), 8 deletions(-)
I spotted a typo: s/unexpcted/unexpected/.
--
Thomas Munro
http://www.enterprisedb.com
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Attachments:
typo.patch (application/octet-stream, 491B) download
diff --git a/src/backend/optimizer/path/allpaths.c b/src/backend/optimizer/path/allpaths.c
index 5b746a906a..a7866a99e0 100644
--- a/src/backend/optimizer/path/allpaths.c
+++ b/src/backend/optimizer/path/allpaths.c
@@ -1316,7 +1316,7 @@ add_paths_to_append_rel(PlannerInfo *root, RelOptInfo *rel,
build_partitioned_rels = true;
break;
default:
- elog(ERROR, "unexpcted rtekind: %d", (int) rte->rtekind);
+ elog(ERROR, "unexpected rtekind: %d", (int) rte->rtekind);
}
/*
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: pgsql: Set partitioned_rels appropriately when UNION ALL is used.
2017-09-14 15:06 pgsql: Set partitioned_rels appropriately when UNION ALL is used. Robert Haas <rhaas@postgresql.org>
2017-09-19 23:59 ` Re: pgsql: Set partitioned_rels appropriately when UNION ALL is used. Thomas Munro <thomas.munro@enterprisedb.com>
@ 2017-09-20 14:12 ` Robert Haas <robertmhaas@gmail.com>
0 siblings, 0 replies; 4+ messages in thread
From: Robert Haas @ 2017-09-20 14:12 UTC (permalink / raw)
To: Thomas Munro <thomas.munro@enterprisedb.com>; +Cc: pgsql-committers
On Tue, Sep 19, 2017 at 7:59 PM, Thomas Munro
<thomas.munro@enterprisedb.com> wrote:
> I spotted a typo: s/unexpcted/unexpected/.
Thnks! Commmitted yur paatch.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Compny
--
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
* pgsql: Set partitioned_rels appropriately when UNION ALL is used.
@ 2017-09-14 15:06 Robert Haas <rhaas@postgresql.org>
0 siblings, 0 replies; 4+ messages in thread
From: Robert Haas @ 2017-09-14 15:06 UTC (permalink / raw)
To: pgsql-committers
Set partitioned_rels appropriately when UNION ALL is used.
In most cases, this omission won't matter, because the appropriate
locks will have been acquired during parse/plan or by AcquireExecutorLocks.
But it's a bug all the same.
Report by Ashutosh Bapat. Patch by me, reviewed by Amit Langote.
Discussion: http://postgr.es/m/CAFjFpRdHb_ZnoDTuBXqrudWXh3H1ibLkr6nHsCFT96fSK4DXtA@mail.gmail.com
Branch
------
REL_10_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/448aa36e8b969da257bb58a6fe3db6498d48d4e8
Modified Files
--------------
src/backend/optimizer/path/allpaths.c | 42 +++++++++++++++++++++++++++++++----
src/backend/optimizer/plan/planner.c | 6 ++---
2 files changed, 40 insertions(+), 8 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
end of thread, other threads:[~2017-09-20 14:12 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-09-14 15:06 pgsql: Set partitioned_rels appropriately when UNION ALL is used. Robert Haas <rhaas@postgresql.org>
2017-09-19 23:59 ` Thomas Munro <thomas.munro@enterprisedb.com>
2017-09-20 14:12 ` Robert Haas <robertmhaas@gmail.com>
2017-09-14 15:06 pgsql: Set partitioned_rels appropriately when UNION ALL is used. Robert Haas <rhaas@postgresql.org>
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