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

Stable13 #29

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
danolivo merged 20 commits into postgrespro:stable13 from Alena0704:stable13
Jun 13, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
197145a
Prevent distributed deadlocks. Disable AQO for FDW queries.
danolivo Dec 3, 2020
626d5ee
Allow learning (and predicting for) on a ForeignScan, an Append, a Me...
danolivo Dec 4, 2020
386cd6d
Add support of postgres_fdw push-down.
danolivo Dec 4, 2020
0cd3ce3
Process GatherMergePath in get_path_clauses routine.
danolivo Dec 15, 2020
e8dcb5b
Add a foreign relation estimation hook into the core patch and AQO.
danolivo Jan 15, 2021
38d4f77
Add basic regression test on FDW support.
danolivo Jan 15, 2021
8291220
Add missed aqo_fdw.sql
danolivo Jan 19, 2021
9aff621
Prepare the insert_index routine for PGv14 signature
danolivo Jan 18, 2021
36c97ac
Change the license sentence in accordance with 2021.
danolivo Jan 19, 2021
34c640d
Fix the state:
danolivo Jan 19, 2021
fbf27d6
Rename aqo.details to aqo.show_details.
danolivo Jan 20, 2021
d8e18ce
Update the readme file in accordance with the new AQO version.
danolivo Jan 20, 2021
418c7d4
Bugfix of the aqo_fdw regress test
danolivo Jan 20, 2021
505c064
Update README.md
danolivo Feb 6, 2021
453bef5
Rename the aqo_details to aqo_show_details
danolivo Feb 18, 2021
d705b5d
Store selectivity cache data in the cache memory context instead of
danolivo Feb 18, 2021
2b20ff0
Change insert/update scheme for the ML-knowledge base.
danolivo Feb 18, 2021
436b3e6
Improve AQO makefile
danolivo Feb 18, 2021
8ec6572
Bugfix: don't create ignorance table in parallel worker.
danolivo Feb 18, 2021
d339ad0
Make the explain of AQO more readable.
danolivo Mar 1, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Process GatherMergePath in get_path_clauses routine.
Replace find_ok assert with elog panic message.
  • Loading branch information
danolivo authored and Alena0704 committed Jun 12, 2021
commit 0cd3ce3407a4817635d22bc3bdb58df7fc1ad4a4
1 change: 1 addition & 0 deletions path_utils.c
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ get_path_clauses(Path *path, PlannerInfo *root, List **selectivities)
selectivities);
break;
case T_GatherPath:
case T_GatherMergePath:
return get_path_clauses(((GatherPath *) path)->subpath, root,
selectivities);
break;
Expand Down
4 changes: 3 additions & 1 deletion storage.c
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,9 @@ update_query(int query_hash, bool learn_aqo, bool use_aqo,
slot = MakeSingleTupleTableSlot(query_index_scan->heapRelation->rd_att,
&TTSOpsBufferHeapTuple);
find_ok = index_getnext_slot(query_index_scan, ForwardScanDirection, slot);
Assert(find_ok);
if (!find_ok)
elog(PANIC, "Query isn't found in AQO learning database.");

tuple = ExecFetchSlotHeapTuple(slot, true, &shouldFree);
Assert(shouldFree != true);

Expand Down

AltStyle によって変換されたページ (->オリジナル) /