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

Commit77ba610

Browse files
committed
Revert "Use Foreign Key relationships to infer multi-column join selectivity".
This commit reverts137805f as well as the associated commits015e889,5306df2, and68d704e. We found multiple bugs in this feature, andthere was concern about possible planner slowdown (though to be fair,exhibiting a very large slowdown proved difficult). The way forwardrequires a considerable rewrite, which may or may not be possible toaccomplish in time for beta2. In my judgment reviewing the rewrite willbe easier to accomplish starting from a clean slate, so let's temporarilyrevert what's there now. This also leaves us in a safe state if it turnsout to be necessary to postpone the rewrite to the next development cycle.Discussion: <20160429102531.GA13701@huehner.biz>
1 parent5c6d2a5 commit77ba610

File tree

12 files changed

+25
-591
lines changed

12 files changed

+25
-591
lines changed

‎src/backend/nodes/outfuncs.c

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2137,16 +2137,6 @@ _outIndexOptInfo(StringInfo str, const IndexOptInfo *node)
21372137
/* we don't bother with fields copied from the index AM's API struct */
21382138
}
21392139

2140-
staticvoid
2141-
_outForeignKeyOptInfo(StringInfostr,constForeignKeyOptInfo*node)
2142-
{
2143-
WRITE_NODE_TYPE("FOREIGNKEYOPTINFO");
2144-
2145-
WRITE_OID_FIELD(conrelid);
2146-
WRITE_OID_FIELD(confrelid);
2147-
WRITE_INT_FIELD(nkeys);
2148-
}
2149-
21502140
staticvoid
21512141
_outEquivalenceClass(StringInfostr,constEquivalenceClass*node)
21522142
{
@@ -3617,9 +3607,6 @@ outNode(StringInfo str, const void *obj)
36173607
caseT_IndexOptInfo:
36183608
_outIndexOptInfo(str,obj);
36193609
break;
3620-
caseT_ForeignKeyOptInfo:
3621-
_outForeignKeyOptInfo(str,obj);
3622-
break;
36233610
caseT_EquivalenceClass:
36243611
_outEquivalenceClass(str,obj);
36253612
break;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp