Robert HaasSr. Staff Software Engineer @ Databricks, PostgreSQL Developer and Committer

Projects › PostgreSQL Code Contributions › Contributor Profiles › Richard Guo

Author Credits, 2026: Richard Guo

Richard Guo is credited as an author of 94 commits from 2026, and listed first in 90. Lines (1st) credits a commit's lines to the author listed first; Lines (share) shares them among all of its authors, favoring those listed first and those listed as Author over Co-authored-by.

CommitSubject
2026-12-03f68727292aeFix nullingrels of whole-row references to JOIN USING aliases3535
2026-12-039774003d953Simplify the uniqueness proof for self-join elimination9898
2026-12-0376a61ad4205Put the scanned relation's CTID first in parameterized TID quals1010
2026-11-1348938780c35Fix GROUP BY column removal for NULLS NOT DISTINCT indexes3131
2026-11-119b80b3170b9Fix stale initplans after removing a plan level in setrefs.c5656
2026-11-06f1e97a29210Fix mismatched PHVs for join alias Vars flattened more than once359359
2026-11-0345ff0b4a317Make Memoize cache keys only of Params from outer query levels114114
2026-11-02f8da64e6ddfMake cache keys of other Params a Memoize subplan depends on4141
2026-11-02708eb515812Fix wrong results from Memoize with a Param inside a cache key282282
2026-10-3077e5aeef59cDon't require outer joins for lateral PHV references outside subqueries6464
2026-10-30c1c93037685Fix nestloop parameter assignment for PHVs evaluated above outer joins8080
2026-10-29f400289946fDon't replace clone clauses with constant TRUEAuthors: Richard Guo, Nitin Motiani125100
2026-10-26022a80fe6c1Don't build child-join EC members that reference outside rels158158
2026-10-26f9bc96514afLook through wrapper paths when collecting enforced clause serials.Authors: Richard Guo, Tom Lane184148
2026-10-216b9f40d49aeFix lateral references in sort keys added by createplan.c156156
2026-10-21456ee18045dFix sorting a child rel by an expression containing a PlaceHolderVar6767
2026-10-193138f248cd3Don't remove an RTE_RESULT needed by a nested PlaceHolderVar184184
2026-10-177787aec8ab0Fix bogus outer-join commutation with lateral refs in PlaceHolderVars5454
2026-10-1723e7ca78a00Fix skipping of join quals for appendrel children102102
2026-10-1611b56ee2731Fix bogus Assert in find_var_for_subquery_tle3535
2026-10-14eacee6b6187Don't use SubPlan-containing expressions for startup-time pruning3333
2026-10-14b84ad0cd904Disallow joins whose lateral references can never be satisfied169169
2026-10-140d6103e537eGive antijoins made from sublinks a relid166166
2026-10-10f5635c2786aFix expr_is_nonnullable() for IS DISTINCT FROM22
2026-10-10d8ce0050a6cPreserve typmod and collation when reducing an expression to its inputAuthors: Shihao Zhong, Richard Guo23
2026-10-07738d19d4ea1Fix PlaceHolderVar placement for join alias expressions350350
2026-10-07372761e05a6Fix parser failure with whole-row join alias Vars5454
2026-10-06d4c15309e7eFlatten join alias Vars before rechecking subquery pullup safety189189
2026-10-068b29b8da78eFix sorting on extra grouping keys of child relations341341
2026-10-0658fca6bdf26Don't pass grouped relations to FDWs3838
2026-10-06d764d61af31Fix eager aggregation grouping on cross-type join keys7171
2026-10-05a464d31ff62Fix relids of EC-derived join clauses for lateral UNION ALL members138138
2026-10-04852fd5b86e1Fix join alias expansion in lateral TABLESAMPLE clauses5555
2026-10-04bfa1a69edd7Set hasSubLinks when expanding a whole-row join alias reference4242
2026-09-19a8bb1a77795Fix join removal when Vars reference the removed join via its alias2222
2026-09-19bee81f78646Fix preprocessing of PHV copies pushed down into subqueries216216
2026-09-149d0adee8768Don't let JSON constructor coercions block SQL function inlining4848
2026-09-14e17df18a811Fix const-folding of JSON constructors inside a simple CASE4646
2026-09-14e28cf96e935Fix stale copies of PHVs in subqueries353353
2026-09-10895c1b5fe1eFix duplicate enforcement of EC-derived conditions8383
2026-09-108510bcc981bFix more duplicate qual clauses in parameterized pathsAuthors: Richard Guo, Tom Lane175117
2026-09-0835d3f2069a3Fix nestloop parameter handling for PlaceHolderVars in child joins188188
2026-09-07f836b688f8dFix duplicate qual clauses in parameterized paths8484
2026-09-0455fa1b06780Disallow joins whose lateral references need an unformable outer join8686
2026-09-02264ddc9a678Fix qual pushdown past grouping through simple CASE169169
2026-09-02262f2eea958Fix OID-counter-sensitive row ordering in foreign_key test2727
2026-09-02ad4b80b6f49Remove quals made redundant by reducing outer joins to antijoins183183
2026-08-25db2d99323f1Fix CPU cost of right-semi and right-anti hash joins277277
2026-08-251bf74c806c4Don't assume DISTINCT ON implies uniqueness when the tlist has SRFs5757
2026-08-2131c002aa897Collect quals for outer-join reduction on demand4545
2026-08-19f863be3e2dbRelax strictness detection for row-format IS NOT NULL tests149149
2026-08-1902119d6c87eReduce outer joins to anti joins for whole-row IS NULL tests313313
2026-08-192ce5a57bc0dReduce FULL JOIN to ANTI JOIN428428
2026-08-19a812cf647a8Reduce LEFT JOIN to ANTI JOIN using quals within the RHS subtree319319
2026-07-200da71d90d62Skip unnecessary get_relids_in_jointree() when there are no PHVs1010
2026-07-181df9e8d969dFix edge case in remove_useless_result_rtes() with outer joins.Authors: Matheus Alcantara, Richard Guo17
2026-07-09e01b23b84e4Add an enable_groupagg GUC parameterAuthors: Tatsuro Yamada, Richard Guo30
2026-07-084721430f199Tighten nullingrels checks for outer joins111111
2026-07-083b0991059f3Remove nrm_match parameter from fix_upper_expr77
2026-07-089dce6b5a42bUse exact nullingrels matches for NestLoopParams1010
2026-07-08906b1e4a19aPropagate stadistinct through GROUP BY/DISTINCT in subqueries and CTEs233233
2026-07-0896ab9a990eeFix EXPLAIN failure when deparsing SQL/JSON aggregates174174
2026-07-0644fb59fc605Fix qual pushdown past grouping with mismatched equivalence1,3611,361
2026-07-03a5422fe3bd7pgindent fix for commit 53e6f51ee22
2026-07-01be69a5ff1fdImprove UNION's output row count estimate5353
2026-06-298612f0b7ce0plpython: Fix NULL pointer dereferences for broken sequence and mapping objects500500
2026-06-229a60f295bcbStrip removed-relation references from PlaceHolderVars at join removal143143
2026-06-03ffeda04259bFix eager aggregation for semi/antijoin inner rels153153
2026-06-03ee2fa291c8bFix wrong unsafe-flag test in check_output_expressions()11
2026-05-089d124a14b3dEnforce RETURNING typmod for empty-set JSON_ARRAY(query)3535
2026-05-08a1b754558aeConsider opfamily and collation when removing redundant GROUP BY columns160160
2026-05-05574581b50acConsider collation when proving subquery uniqueness324324
2026-05-055a55ea507a2Consider collation when proving uniqueness from unique indexes214214
2026-05-01f76686ce7f7Fix HAVING-to-WHERE pushdown with nondeterministic collations468468
2026-05-018d829f5a020Fix JSON_ARRAY(query) empty set handling and view deparsing316316
2026-04-27c66d6d19eb1Fix bogus calls in remove_self_join_rel()1111
2026-04-21c6a79be3f3cFix incorrect NEW references to generated columns in rule rewritingAuthors: Richard Guo, Dean Rasheed221148
2026-04-2020efbdffeb6Clean up remove_rel_from_query() after self-join elimination commit226226
2026-04-16191a037d4f2doc PG 19 relnotes: add author and move items4141
2026-04-15363af93bdd2Fix var_is_nonnullable() to handle invalid NOT NULL constraints6161
2026-04-098b6c89e377bFix integer overflow in nodeWindowAgg.c172172
2026-04-09c1408956e39Strip PlaceHolderVars from partition pruning operands320320
2026-04-063a08a2a8b4fFix volatile function evaluation in eager aggregation6363
2026-04-06bd94845e8c9Fix collation handling for grouping keys in eager aggregation135135
2026-03-12383eb21ebffConvert NOT IN sublinks to anti-joins when safe1,2701,270
2026-03-041f4f87d7943Remove redundant restriction checks in apply_child_basequals1313
2026-03-04ce1c17a3163Remove obsolete SAMESIGN macro00
2026-02-2577c7a17a6e5Fix unsafe RTE_GROUP removal in simplify_EXISTS_query1515
2026-02-20691977d3703Fix computation of varnullingrels when translating appendrel Var8383
2026-02-12cf74558feb8Reduce LEFT JOIN to ANTI JOIN using NOT NULL constraintsAuthors: Tender Wang, Richard Guo51
2026-02-10f41ab51573aTeach planner to transform "x IS [NOT] DISTINCT FROM NULL" to a NullTest118118
2026-02-100aaf0de7fedOptimize BooleanTest with non-nullable input204204
2026-02-100a379612540Optimize IS DISTINCT FROM with non-nullable inputs259259
2026-01-1934740b90bc1Fix unsafe pushdown of quals referencing grouping Vars175175
Total14,81314,742

Figures for 2026 are as of commit a069c996804.
Dates are as the committer gave them. For how these are counted, see the README.