Skip to content

Commit d62f80e

Browse files
committed
Merge branch 'master' into rel_future_beta
2 parents bf25102 + d8f1a34 commit d62f80e

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

META.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"name": "pg_pathman",
3+
"abstract": "Partitioning tool",
4+
"description": "The `pg_pathman` module provides optimized partitioning mechanism and functions to manage partitions.",
5+
"version": "1.3.1",
6+
"maintainer": [
7+
"Ildar Musin <i.musin@postgrespro.ru>",
8+
"Dmitry Ivanov <d.ivanov@postgrespro.ru>",
9+
"Ildus Kurbangaliev <i.kurbangaliev@postgrespro.ru>"
10+
],
11+
"license": "postgresql",
12+
"resources": {
13+
"bugtracker": {
14+
"web": "https://github.com/postgrespro/pg_pathman/issues"
15+
},
16+
"repository": {
17+
"url": "git://github.com:postgrespro/pg_pathman.git",
18+
"web": "https://github.com/postgrespro/pg_pathman",
19+
"type": "git"
20+
}
21+
},
22+
"generated_by": "Ildar Musin",
23+
"provides": {
24+
"pg_pathman": {
25+
"file": "pg_pathman--1.3.sql",
26+
"docfile": "README.md",
27+
"version": "1.3.1",
28+
"abstract": "Partitioning tool"
29+
}
30+
},
31+
"meta-spec": {
32+
"version": "1.0.0",
33+
"url": "http://pgxn.org/meta/spec.txt"
34+
},
35+
"tags": [
36+
"partitioning",
37+
"partition",
38+
"optimization"
39+
]
40+
}

src/pg_pathman.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,10 @@ append_child_relation(PlannerInfo *root, Relation parent_relation,
266266
appinfo->child_relid = childRTindex;
267267
appinfo->parent_reloid = parent_rte->relid;
268268

269+
/* Store table row types for wholerow references */
270+
appinfo->parent_reltype = RelationGetDescr(parent_relation)->tdtypeid;
271+
appinfo->child_reltype = RelationGetDescr(child_relation)->tdtypeid;
272+
269273
make_inh_translation_list(parent_relation, child_relation, childRTindex,
270274
&appinfo->translated_vars);
271275

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy