Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1dc3612

Browse files
committed
Merge branch 'master' ofhttps://github.com/postgrespro/pg_pathman into rel_future_beta
2 parents083e6a1 +d8f1a34 commit1dc3612

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
@@ -270,6 +270,10 @@ append_child_relation(PlannerInfo *root, Relation parent_relation,
270270
appinfo->child_relid=childRTindex;
271271
appinfo->parent_reloid=parent_rte->relid;
272272

273+
/* Store table row types for wholerow references */
274+
appinfo->parent_reltype=RelationGetDescr(parent_relation)->tdtypeid;
275+
appinfo->child_reltype=RelationGetDescr(child_relation)->tdtypeid;
276+
273277
make_inh_translation_list(parent_relation,child_relation,childRTindex,
274278
&appinfo->translated_vars);
275279

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp