Commits in 2023
Commits70 commits
42Author
0Committer
23Reviewer
10Reported by
0Co-author
| Credit | Commit | Branches | Thread(s) | Committed |
|---|---|---|---|---|
| AuthorLLMReviewerReported by | Make replace_relid() leave argument unmodified | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | Assert failure on 'list_member_ptr(rel->joininfo, restrictinfo)' | Dec 27, 2023 |
| Reviewer | REALLOCATE_BITMAPSETS manual compile-time option | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | Assert failure on 'list_member_ptr(rel->joininfo, restrictinfo)' | Dec 27, 2023 |
| Reviewer | Add asserts to bimapset manipulation functions | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | Assert failure on 'list_member_ptr(rel->joininfo, restrictinfo)' | Dec 27, 2023 |
| AuthorLLM | Fix erroneous -Werror=missing-braces on old GCC. | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | Erroneous -Werror=missing-braces on old GCC | Dec 25, 2023 |
| Author | Fix a comment for remove_self_joins_recurse() | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | BUG #18187: Unexpected error: "variable not found in subplan target lists" triggered by JOIN | Dec 24, 2023 |
| Author | Don't constrain self-join removal due to PHVs | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | BUG #18187: Unexpected error: "variable not found in subplan target lists" triggered by JOIN | Dec 24, 2023 |
| Author | Handle PlaceHolderVar case in replace_varno_walker | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | BUG #18187: Unexpected error: "variable not found in subplan target lists" triggered by JOIN | Dec 24, 2023 |
| AuthorLLM | Prevent integer overflow when forming tuple width estimates. | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | BUG #18247: Integer overflow leads to negative width | Dec 19, 2023 |
| Author | Update comment for Cardinality typedef | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | Update the comment in nodes.h to cover Cardinality | Dec 19, 2023 |
| AuthorLLM | compute_bitmap_pages' loop_count parameter should be double not int. | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | BUG #18247: Integer overflow leads to negative width | Dec 18, 2023 |
| Reviewer | Rename ShmemVariableCache to TransamVariables | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | Rename ShmemVariableCache and initialize it in more standard way | Dec 08, 2023 |
| Reviewer | Initialize ShmemVariableCache like other shmem areas | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | Rename ShmemVariableCache and initialize it in more standard way | Dec 08, 2023 |
| Author | Fix comment about ressortgrouprefs being unique in setop plans. | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | Fix a wrong comment in setrefs.c | Nov 28, 2023 |
| Reviewer | Fix comment in tableam.h about GetHeapamTableAmRoutine() | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | Incorrect comment in tableam.h regarding GetHeapamTableAmRoutine() | Nov 27, 2023 |
| Reviewer | Don't use bms_membership() in cases where we don't need to | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | Don't use bms_membership in places where it's not needed | Nov 27, 2023 |
| Reported by | Check if ii_AmCache is NULL in aminsertcleanup | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | brininsert optimization opportunity | Nov 27, 2023 |
| Author | Fix how SJE checks against PHVs | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | BUG #18187: Unexpected error: "variable not found in subplan target lists" triggered by JOIN | Nov 10, 2023 |
| AuthorLLMBackported | Fix computation of varnullingrels when const-folding field selection. | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.2 | BUG #18184: ERROR: wrong varnullingrels (b) (expected (b 3)) for Var 2/2 | Nov 09, 2023 |
| Author | Fix the way SJE removes references from PHVs | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | BUG #18187: Unexpected error: "variable not found in subplan target lists" triggered by JOIN | Nov 09, 2023 |
| AuthorLLMReported by | Fix allocation of UniqueRelInfo | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | BUG #18170: Unexpected error: no relation entry for relid 3 | Nov 06, 2023 |
| Author | Fix usage of the parse tree for estimate_num_groups() in set operations | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | BUG #18170: Unexpected error: no relation entry for relid 3 | Nov 04, 2023 |
| Reported by | Stabilize postgres_fdw tests on 32-bit machines | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | Why is DEFAULT_FDW_TUPLE_COST so insanely low? | Nov 02, 2023 |
| AuthorLLM | Fix missed optimization in relation_excluded_by_constraints(). | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | Check each of base restriction clauses for constant-FALSE-or-NULL | Oct 11, 2023 |
| AuthorLLM | Replace has_multiple_baserels() with a bitmap test on all_baserels. | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | Retire has_multiple_baserels() | Oct 10, 2023 |
| AuthorReported by | Fix possible crash in add_paths_to_append_rel() | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | Crash in add_paths_to_append_rel | Oct 10, 2023 |
| ReviewerBackported | Strip off ORDER BY/DISTINCT aggregate pathkeys in create_agg_path | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.1 | pg16: XX000: could not find pathkey item to sort | Oct 09, 2023 |
| AuthorLLMReported by | Fix another typo in e0b1ee17dc | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | Fix a typo in _bt_readpage | Oct 07, 2023 |
| Reviewer | Provide FORCE_NULL * and FORCE_NOT_NULL * options for COPY FROM | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | COPY FROM FORMAT CSV FORCE_NULL(*) ? | Sep 30, 2023 |
| Author | Replace more MemSet calls with struct initialization | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | Should we use MemSet or {0} for struct initialization? | Sep 19, 2023 |
| AuthorLLMBackported | Track nesting depth correctly when drilling down into RECORD Vars. | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.1REL_15_STABLE15.5REL_14_STABLE14.10REL_13_STABLE13.13+2 more | BUG #18077: PostgreSQL server subprocess crashed by a SELECT statement with WITH clause | Sep 15, 2023 |
| AuthorLLM | Reorder tests in get_cheapest_path_for_pathkeys(). | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | A minor adjustment to get_cheapest_path_for_pathkeys | Sep 07, 2023 |
| Reported by | ATPrepAddPrimaryKey: ignore non-PK constraints | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | Assert failure in ATPrepAddPrimaryKey | Sep 01, 2023 |
| AuthorLLM | Re-allow FDWs and custom scan providers to replace joins with pseudoconstant quals. | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | postgres_fdw: wrong results with self join + enable_nestloop off | Aug 15, 2023 |
| AuthorBackported | Don't Memoize lateral joins with volatile join conditions | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16beta3REL_15_STABLE15.4REL_14_STABLE14.9 | Check volatile functions in ppi_clauses for memoize node | Aug 07, 2023 |
| Author | Fix misleading comment in paraminfo_get_equal_hashops | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | Fix a comment in paraminfo_get_equal_hashops | Aug 07, 2023 |
| Author | Tidy up join_search_one_level code | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | Improve join_search_one_level readibilty (one line change) | Aug 06, 2023 |
| Reviewer | Allow Incremental Sorts on GiST and SP-GiST indexes | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | Incremental sort for access method with ordered scan support (amcanorderbyop) | Jul 04, 2023 |
| Author | A minor simplification for List manipulation | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | Improve list manipulation in several places | Jul 03, 2023 |
| Reviewer | Remove redundant PARTITION BY columns from WindowClauses | master17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1 | Remove WindowClause PARTITION BY items belonging to redundant pathkeys | Jul 03, 2023 |
| AuthorLLM | Defend against bogus parameterization of join input paths. | master16beta3REL_19_STABLE16beta3REL_18_STABLE16beta3REL_17_STABLE16beta3REL_16_STABLE16beta3 | Assert !bms_overlap(joinrel->relids, required_outer) | Jun 29, 2023 |
| AuthorBackported | pg_stat_statements: Fix incorrect comment with entry resets | master16beta3REL_19_STABLE16beta3REL_18_STABLE16beta3REL_17_STABLE16beta3REL_16_STABLE16beta3REL_15_STABLE15.4REL_14_STABLE14.9 | Another incorrect comment for pg_stat_statements | Jun 28, 2023 |
| AuthorLLM | Don't include outer join relids in lateral_relids bitmapsets. | master16beta2REL_19_STABLE16beta2REL_18_STABLE16beta2REL_17_STABLE16beta2REL_16_STABLE16beta2 | ERROR: wrong varnullingrels (b 3) (expected (b)) for Var 2/1 | Jun 20, 2023 |
| AuthorLLM | Centralize fixups for mismatched nullingrels in nestloop params. | master16beta2REL_19_STABLE16beta2REL_18_STABLE16beta2REL_17_STABLE16beta2REL_16_STABLE16beta2 | ERROR: wrong varnullingrels (b 3) (expected (b)) for Var 2/1 | Jun 20, 2023 |
| AuthorLLM | When removing a left join, clean out references in EquivalenceClasses. | master16beta2REL_19_STABLE16beta2REL_18_STABLE16beta2REL_17_STABLE16beta2REL_16_STABLE16beta2 | BUG #17976: Inconsistent results of SELECT using CASE WHEN clause | Jun 15, 2023 |
| Reviewer | Replace GUC_UNIT_MEMORY|GUC_UNIT_TIME with GUC_UNIT. | master16beta2REL_19_STABLE16beta2REL_18_STABLE16beta2REL_17_STABLE16beta2REL_16_STABLE16beta2 | Replace (GUC_UNIT_MEMORY | GUC_UNIT_TIME) with GUC_UNIT in guc.c | Jun 15, 2023 |
| ReviewerBackported | intarray: Prevent out-of-bound memory reads with gist__int_ops | master16beta2REL_19_STABLE16beta2REL_18_STABLE16beta2REL_17_STABLE16beta2REL_16_STABLE16beta2REL_15_STABLE15.4REL_14_STABLE14.9REL_13_STABLE13.12+2 more | [BUG #17888] Incorrect memory access in gist__int_ops for an input array with many elementsBUG #17888: Incorrect memory access in gist__int_ops for an input array with many elements | Jun 15, 2023 |
| AuthorLLM | Fix "wrong varnullingrels" for Memoize's lateral references, too. | master16beta2REL_19_STABLE16beta2REL_18_STABLE16beta2REL_17_STABLE16beta2REL_16_STABLE16beta2 | ERROR: wrong varnullingrels (b 3) (expected (b)) for Var 2/1 | Jun 13, 2023 |
| AuthorLLM | Fix "wrong varnullingrels" for subquery nestloop parameters. | master16beta2REL_19_STABLE16beta2REL_18_STABLE16beta2REL_17_STABLE16beta2REL_16_STABLE16beta2 | ERROR: wrong varnullingrels (b 3) (expected (b)) for Var 2/1 | Jun 12, 2023 |
| Reviewer | Fix missing word in nbtree/README. | master16beta2REL_19_STABLE16beta2REL_18_STABLE16beta2REL_17_STABLE16beta2REL_16_STABLE16beta2 | Typo in src/backend/access/nbtree/README? | Jun 09, 2023 |
| AuthorLLM | Fix oversight in outer join removal. | master16beta2REL_19_STABLE16beta2REL_18_STABLE16beta2REL_17_STABLE16beta2REL_16_STABLE16beta2 | ERROR: no relation entry for relid 6 | Jun 08, 2023 |
| AuthorLLM | Fix thinko in join removal. | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | Clause accidentally pushed down ( Possible bug in Making Vars outer-join aware) | May 19, 2023 |
| Reviewer | Fix overridden callbacks in pg_rewind. | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | [pg_rewind] use the passing callback instead of global function | May 02, 2023 |
| ReviewerBackported | Fix crashes with CREATE SCHEMA AUTHORIZATION and schema elements | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15.3REL_14_STABLE14.8REL_13_STABLE13.11+2 more | BUG #17909: CREATE SCHEMA AUTHORIZATION sch CREATE TABLE foo ( id INT ) will coredump | Apr 28, 2023 |
| Reported byBackported | Avoid character classification in regex escape parsing. | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15.3REL_14_STABLE14.8REL_13_STABLE13.11+2 more | Assert failure with ICU support | Apr 21, 2023 |
| Reviewer | Adjust Valgrind macro usage to protect chunk headers | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | An oversight in ExecInitAgg for grouping setsProtecting allocator headers with Valgrind | Apr 14, 2023 |
| ReviewerBackported | Fix incorrect partition pruning logic for boolean partitioned tables | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15.3REL_14_STABLE14.8REL_13_STABLE13.11+2 more | Unexpected (wrong?) result querying boolean partitioned table with NULL partition | Apr 14, 2023 |
| Reported by | Fix PHJ match bit initialization. | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | Wrong results from Parallel Hash Full Join | Apr 13, 2023 |
| AuthorLLM | Support "Right Anti Join" plan shapes. | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | Using each rel as both outer and inner for JOIN_ANTI | Apr 05, 2023 |
| Reported by | Fix outdated comments regarding TupleTableSlots | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | A structure has changed but comment modifications maybe missed | Mar 30, 2023 |
| Reviewer | Fix a couple of typos | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | Fix typo plgsql to plpgsql. | Mar 21, 2023 |
| Reviewer | Fix make maintainer-clean with queryjumblefuncs.*.c files in src/backend/nodes/ | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | Missing rules for queryjumblefuncs.{funcs,switch}.c for maintainer-clean | Mar 21, 2023 |
| Reviewer | Fix incorrect comment in preptlist.c | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | Comment in preptlist.c | Mar 21, 2023 |
| Reviewer | postgres_fdw: Remove useless if-test in GetConnection(). | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | postgres_fdw: Useless if-test in GetConnection() | Mar 17, 2023 |
| AuthorLLM | Enable use of Memoize atop an Append that came from UNION ALL. | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | A problem about ParamPathInfo for an AppendPath | Mar 16, 2023 |
| AuthorLLM | Fix thinkos in have_unsafe_outer_join_ref; reduce to Assert check. | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | Making Vars outer-join aware | Feb 13, 2023 |
| AuthorBackported | Fix LATERAL join test in test memoize.sql | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15.2REL_14_STABLE14.7 | Improve LATERAL join case in test memoize.sql | Jan 23, 2023 |
| Reviewer | Have the planner consider Incremental Sort for DISTINCT | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | Allow DISTINCT to use Incremental Sort | Jan 10, 2023 |
| Author | Fix some compiler warnings in aset.c and generation.c | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | Some compiling warnings | Jan 04, 2023 |
| Author | Fix typo in memutils_memorychunk.h | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | An oversight in ExecInitAgg for grouping sets | Jan 03, 2023 |
| AuthorLLMBackported | Avoid reference to nonexistent array element in ExecInitAgg(). | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15.2REL_14_STABLE14.7REL_13_STABLE13.10+2 more | An oversight in ExecInitAgg for grouping sets | Jan 02, 2023 |