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

Projects › PostgreSQL Code Contributions › Contributor Profiles › Tom Lane

Author Credits, 2026: Tom Lane

Tom Lane is credited as an author of 217 commits from 2026, and listed first in 197. 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-03c061fd5547eFix btree_gist's timetz opclass for inequality searches.5757
2026-12-017451263c13cUpdate contrib/sepgsql test's expected output for 00f270198.00
2026-11-29a68bb26f294Remove long-useless redefinitions of YY_READ_BUF_SIZE.00
2026-11-27cf9d92d1f75Introduce get_numeric_infinity() and get_numeric_nan().2424
2026-11-2493e2b79f5f6Avoid null pointer crash after pg_localtime()/pg_gmtime() failure.2222
2026-11-2065ebed1f5e2Fix SEARCH/CYCLE when the recursive term is SELECT DISTINCT.3030
2026-11-19882881ac1aaGive a good error message when we can neither hash nor sort a UNION.6363
2026-11-179b937d1d1d0Improve error messages in parse_jsonb_index_flags().1313
2026-11-17f76c8480f55Don't crash on null pstate in coerce_record_to_complex().4040
2026-11-1370c4a57b64dDrop support for named POSIX semaphores (the sem_open() kind).1515
2026-11-128e27c9261c9Fix assorted confusion about parameter names.152152
2026-11-12165af118c5cSilence compiler warnings about SOFT_ERROR_OCCURRED usage.22
2026-11-11c1694b7b962Fix incorrect early exit from contain_mutable_functions_walker.88
2026-11-11b5608391087Doc: fix imprecise description of PL/Python's "SD" dictionary.99
2026-11-1144cf2892bbfStore empty stavalues when needed for expression statistics.Authors: Atish Prakash, Shihao Zhong, Tom Lane13
2026-11-103d342deeb43Fix missing error handling in plperl_sv_to_literal().7171
2026-11-09ff2e66f4953plpgsql: recheck record field's type after casting value.3535
2026-11-09b93d8a554daAvoid using a dangling pointer in expanded-record domain checks.1616
2026-11-0928e164e1de2Check that commutator/negator operators return the same data type.456456
2026-11-09fffd8a41f3cTighten CREATE AGGREGATE's checks on validity of a SORTOP option.2626
2026-11-094581711f38bTreat application of a leaky function to CaseTestExpr/Param as leaky.7777
2026-11-0941a3a980ee3Further harden PL/Perl against tied-scalar mischief.Authors: Andrew Dunstan, Tom Lane23
2026-11-09bcb007a7213Hold a reference on a Perl array or hash while scanning it.Authors: Tom Lane, Anthropic OSS program10685
2026-11-09daafcbd1143Fix PL/Perl to cope with errors thrown from tied structures.588588
2026-11-09bc1fa1003f6Avoid use-after-free hazards in re-entrant use of pltcl.5050
2026-11-09f22d6aba940Prevent construction of invalid "name" values via element assignment.2929
2026-11-0100d33e82bbbMove plpython's rejection of pseudotype arguments/results.120120
2026-11-01811527d9d46Fix failure in function cache entry hashing during validation mode.3232
2026-10-30cb3a90c8211Update time zone data files to tzdata release 2026f.1212
2026-10-301c9efb57ec9libpq: handle GSS credentials more sanely.2525
2026-10-29cab16d214bcFix poorly-formatted comment.33
2026-10-266e9e5681b8aAvoid waiting for a safe snapshot in notify-reading transactions.Authors: Shihao Zhong, Tom Lane7
2026-10-26f9bc96514afLook through wrapper paths when collecting enforced clause serials.Authors: Richard Guo, Tom Lane36
2026-10-256e06f62816fFix "variable set but not used" warning with unnamed POSIX semaphores.66
2026-10-23126976a8ffcEmit null-keyed hash join outer tuples immediately when feasible.Authors: Shihao Zhong, Tom Lane9
2026-10-23896246ea10cRemove faulty Asserts added by 1999fe227.00
2026-10-21dd568b047acfindtimezone: update Windows timezone name list for recent events.140140
2026-10-2068af68ac691Fix cross-version upgrade tests for commits 0497318e4 et al.2727
2026-10-16a261fc2b722Allow role created by new test to log in on Windows.22
2026-10-15d11f4a03b22Weaken libxml2 behavioral test added by 30d4a6daa.88
2026-10-1530d4a6daac8Modernize our parsing of XML data in CONTENT mode.143143
2026-10-136b3f8857aa8Delay qp_callback processing till after join removal.4545
2026-10-13b28a2b2bfa5Fix two errors in extraction of GIN indexquals from jsonpath queries.5757
2026-10-0710cc5aa96a6Tighten data validity checks in tsvectorrecv().99
2026-10-07e96efd07c72Remove "array_nulls" GUC parameter.22
2026-10-0698c41fed6fcDoc: correct overambitious precision claim for contrib/seg.22
2026-10-05fe5a0109770Handle operator-stack-overflow errors softly in tsquery and ltxtquery.1313
2026-10-05dfcf6fa7749Don't absorb child pathkeys into dummy AppendPaths for set-ops.Authors: Tom Lane, Shihao Zhong12399
2026-10-0590893c7b7cfFix EXPLAIN of dummy set operations some more.Authors: Shihao Zhong, Tom Lane15
2026-09-30a36e2f7cd21Update time zone data files to tzdata release 2026e.3737
2026-09-30ee089509690Fix incorrect parallel build of jsonapi.o with Makefiles.66
2026-09-29dca6a9e320ePrevent self-join elimination when RTEs' checkAsUser fields differ.9595
2026-09-28d9b5a63f49dBetter express platform requirements in s_lock.h.2626
2026-09-25f197fdee826Doc: clarify there's no log_line_prefix in csvlog or jsonlog output.Authors: Laurenz Albe, Tom Lane0
2026-09-2587762cbaa4fModernize crypt-des.c a bit, avoiding dubious casts.Authors: Tom Lane, Ayush Tiwari2117
2026-09-242c10c2ce4d7Silence another "may be used uninitialized" compiler warning.11
2026-09-2492616429093Suppress -Wshadow=local warnings in REG_DEBUG code.66
2026-09-11962e0a723a2Revert "Don't try to re-order the subcommands of CREATE SCHEMA".102102
2026-09-11f1920437cd4Revert "Support more object types within CREATE SCHEMA".A revert, so no lines credited00
2026-09-108510bcc981bFix more duplicate qual clauses in parameterized pathsAuthors: Richard Guo, Tom Lane58
2026-09-0723c07b46043Improve display of GUCs that are customarily written in octal.7979
2026-09-02e073b64d332Stabilize xid_wraparound/t/002_limits.pl test.99
2026-09-0114dbc859853Handle XmlExpr more honestly in clauses.c.Authors: Andrey Rachitskiy, Tom Lane18
2026-08-282ebf25e7d70Perform join removal by editing the query's jointree.995995
2026-08-238aa49d34e97Allow an aggregate's planner support function to be set via CREATE AGGREGATE.115115
2026-08-2038337ee639bMicro-optimize appendStringInfo[VA].2626
2026-08-20ec352b37d88Replace formatting.c's fixed-size output buffers with StringInfos.123123
2026-08-2028c5d072487Restructure formatting.c's NUM_processor() to add some const-sanity.463463
2026-08-2003d2554638cConvert DCH_to_char() to use a StringInfo as destination.141141
2026-08-202ecbc5e021bRewrite tsqueryout() to use StringInfo to build the output string.4545
2026-08-2041868e8aaa6Remove redundant SvOK() tests in plperl.55
2026-08-185bf8fee543aMake plperl's handling of Perl hashes more consistent.6666
2026-08-18c0641ae4e16Defend against null "SV *" pointers in plperl modules.1717
2026-08-174921447bea7Doc: clean up documentation about text search datatype limits.88
2026-08-17e6cac7fab36Tighten up tsqueryrecv().1111
2026-08-17131444cd167Make plperl's handling of Perl arrays safer and more consistent.3232
2026-08-13957d4eae52eConsistently enforce tsvector/tsquery maximum lengths.99
2026-08-11040932c3114Tweak allocation rule for tzload()'s "union local_storage" variable.2222
2026-08-103045a25ba81Teach psql to skip in-line COPY ... FROM STDIN data after a failure.Reverted by f1920437cd4 on 2026-09-11; 0 of 308 lines credited00
2026-08-10cf754f7414bSave/restore more lexer state when skipping text due to \if.120120
2026-08-101aa601b4f55Return nulls honestly in aggregate "combine" functions.4040
2026-08-108f7e35b08adReject calls from SQL to functions that take or return type internal.6666
2026-08-1060e7329b9b1Protect some fixed-size arrays that have FUNC_MAX_ARGS elements.109109
2026-08-1013bb73aeb68pg_dump: avoid assuming how long pg_proc.protrftypes can be.138138
2026-08-107bd56f7a3bdReplace fixed-size, too-short array with a palloc'd one.33
2026-08-108f0c3d2feb9Be more wary about constant's datatype in scalarineqsel().22
2026-08-1063cb15f40c6Harden PL/Perl code against "tied" Perl arrays and hashes.1414
2026-08-1090649b6f846Harden tsquery code against overflows.1212
2026-08-1023d9ad77181Harden tsvector code against overflows.126126
2026-08-103d724bf4fdeGuard against overlength time zone abbreviations in to_char().1717
2026-08-024e68b7e291dTighten up TS dictionary cache entry creation.2121
2026-08-026ca405938d4Update time zone data files to tzdata release 2026c.88
2026-07-275a3b22eb304Further improve the names generated for indexes on expressions.Authors: Chauhan Dhruv, Tom Lane7
2026-07-277090c696cc9Deparse FOR PORTION OF using the range column's current name.Reverted by a4b26b8f7cd on 2026-09-15; 0 of 64 lines credited00
2026-07-17f5dfd52553dFix yet another portability problem in new NLS test.66
2026-07-16637aa273e63In transformIndexStmt, transform index expressions in INCLUDING.Authors: Tom Lane, Maaz Syed Adeeb4335
2026-07-0642b7ff3aaefFix mishandling of leading '\' in nondeterministic LIKE.7979
2026-07-06431896a84ebMake PLy_elog() use pg_integer_constant_p().44
2026-07-04a8c2547eaacDisallow renaming a rule to "_RETURN".1414
2026-07-03b82d69abf64Remove btree_gist's useless logic for encoding-aware truncation.77
2026-07-03fea9c1884b2Tighten up btree_gist's handling of truncated bounds.6767
2026-07-034b808ed77cdSync signatures of gbt_var_consistent() and gbt_num_consistent().2525
2026-07-03d6284bbd152Reverse-engineer some documentation for btree_gist's varlena modules.134134
2026-07-03a9fa6c69e3fUse the proper comparator in gbt_bit_ssup_cmp.11
2026-07-0185656c1bef4Fix macro-redefinition warning introduced by aeb07c55f.22
2026-07-017d3448961dabtree_gist: fix NaN handling in float4/float8 opclasses.Authors: Bill Kim, Tom Lane69
2026-07-01181b6185c79Improve the names generated for indexes on expressions.274274
2026-07-01aeb07c55fabSync our copy of the timezone library with IANA release tzcode2026b.2,8012,801
2026-07-01d3223485546Fix CPU-identification macros for RISC-V.77
2026-06-301de468099d2Disallow set-returning functions within window OVER clauses.2222
2026-06-302ef57e636fcClean up inconsistencies in CPU-identification macros.7676
2026-06-22ef01ca6dbcaFix unsafe order of operations in ResourceOwnerReleaseAll().1313
2026-06-19f25a07b2d94Make pg_mkdir_p() tolerant of a concurrent directory creation.Authors: Andrew Dunstan, Tom Lane6
2026-06-16e5f94c4808fFix various query jumble commentsAuthors: David Rowley, Tom Lane8
2026-06-15a75bd485b5eClean up quoting of variable strings within replication commands.157157
2026-06-15ca6969629d8Modernize pg_bsd_indent's error/warning reporting code.1414
2026-06-15b78cd2bda5bTrim regression test expected output for xmlAuthors: Tom Lane, Michael Paquier3322
2026-06-109d141466ff0Undo thinko in commit e78d1d6d4.00
2026-06-084b1e18b0573Remove inappropriate translation marker in getObjectIdentityParts().11
2026-06-0806e94eccfd9Fix missed checks for hashability of container-type equality.Authors: Andrei Lepikhov, Tom Lane20
2026-06-04c35f85ac02aFix another case of indirectly casting away const.1414
2026-06-04e88bd2736f8Ensure USE_AVX... symbols are not defined if not building for x86_64.1313
2026-06-014b0bf0788b0Stamp 19beta1.1111
2026-05-132122281672bUse "grep -E" not "egrep".88
2026-05-13b94989e73d5Pre-beta updates: run src/tools/copyright.pl.33
2026-05-13c7cb8e5b73cDo pre-release housekeeping on catalog data.8080
2026-05-13652ae1a520dAdd preceding commits to .git-blame-ignore-revs.99
2026-05-13719fe0779d8Pre-beta mechanical code beautification, step 3: run reformat-dat-files.195195
2026-05-13736a97bddd1Pre-beta mechanical code beautification, step 2: run pgperltidy.Mechanical, going by its subject; 0 of 345 lines credited00
2026-05-13020794ee42aPre-beta mechanical code beautification, step 1: run pgindent.Mechanical, going by its subject; 0 of 1,244 lines credited00
2026-05-11906ea101d0dRemove test cases for field overflows in intarray and ltree.00
2026-05-11b2869ebc43bFix integer-overflow and alignment hazards in locale-related code.4444
2026-05-11ec8ded4b327Guard against unsafe conditions in usage of pg_strftime().1111
2026-05-1176ab76f875aAvoid passing unintended format codes to snprintf().99
2026-05-1143451a7a2b3Guard against overflow in "left" fields of query_int and ltxtquery.132132
2026-05-11c55cea52906Fix assorted places that need to use palloc_array().1616
2026-05-11066b7b144f3Prevent buffer overrun in unicode_normalize().Authors: Tom Lane, Heikki Linnakangas2621
2026-05-110dc1fdc75ebHarden our regex engine against integer overflow in size calculations.5959
2026-05-1146593aea0a5Make palloc_array() and friends safe against integer overflow.358358
2026-05-0493da2973664Declare load_hosts() as returning HostsFileLoadResult.1212
2026-04-24f64f62f5bedUpdate time zone data files to tzdata release 2026b.99
2026-04-22a50777680f6Guard against overly-long numeric formatting symbols from locale.4343
2026-04-22d7970e7e951Prevent some buffer overruns in spell.c's parsing of affix files.1818
2026-04-22844bb90d49fPrevent buffer overrun in spell.c's CheckAffix().4141
2026-04-2164b2b421248Fix not-quite-right Makefile for src/test/modules/test_checksums.22
2026-04-211cd3cd372aeRemove gen_node_support.pl's ad-hoc ABI stability check.11
2026-04-2181c082f51adMake plpgsql_trap test more robust and less resource-intensive.55
2026-04-20f0ac6d494b5Fix relid-set clobber during join removal.22
2026-04-20cfcd5711160Clean up all relid fields of RestrictInfos during join removal.7979
2026-04-20207cb2abcbaMake ExecForPortionOfLeftovers() obey SRF protocol.Authors: Tom Lane, Paul A Jungwirth1815
2026-04-07b268928f932Suppress unused-variable warning.11
2026-04-06d516974840fSupport more object types within CREATE SCHEMA.Authors: Kirill Reshke, Jian He, Tom LaneReverted by f1920437cd4 on 2026-09-11; 0 of 405 lines credited0
2026-04-06404db8f9edbExecute foreign key constraints in CREATE SCHEMA at the end.Authors: Jian He, Tom Lane62
2026-04-06a9c350d9ee6Don't try to re-order the subcommands of CREATE SCHEMA.139139
2026-04-0621c69dc73f9Disallow system columns in COPY FROM WHERE conditions.3333
2026-04-06f7da81f68b6Add missing .gitignore files.88
2026-04-02ebba64c08d9Further harden tests that might use not-so-compatible tar versions.6767
2026-04-02bc30c704addHarden astreamer tar parsing logic against archives it can't handle.8686
2026-03-31fb7a9050d53Doc: improve explanation of GiST compress/decompress methods.Authors: Paul A Jungwirth, Tom Lane6
2026-03-30786552e7f22Doc: update ddl.sgml's description of cmin and cmax.Authors: Paul A Jungwirth, Tom Lane4
2026-03-3073947734503Be more careful to preserve consistency of a tuplestore.1717
2026-03-30095555daf12Detect pfree or repalloc of a previously-freed memory chunk.4242
2026-03-2779ac82125efpgindent: ensure all C files end with a newline.33
2026-03-25e9d723487b2Remove a low-value, high-risk optimization in pg_waldump.1616
2026-03-25ff84efe4fdcFix misuse of simplehash.h hash operations in pg_waldump.3636
2026-03-2503b1e30e7aaFix file descriptor leakages in pg_waldump.4444
2026-03-246e243d81c54Fix poorly-sized buffers in astreamer compression modules.55
2026-03-24ca1f1ade3f6Remove read_archive_file()'s "count" parameter.99
2026-03-232e123e3c2bdSilence compiler warning from older compilers.Reverted by a0354e29c41 on 2026-06-08; 0 of 1 lines credited00
2026-03-237c08a7e8097Doc: minor improvements to SNI documentation.2323
2026-03-23360dd6f7b4cImprove commentary about ChangeVarNodesWalkExpression().1111
2026-03-2269c57466a75Fix another buglet in archive_waldump.c.33
2026-03-22860359ea029Fix assorted bugs in archive_waldump.c.Authors: Tom Lane, Andrew Dunstan11189
2026-03-20ce8d5fe0e28plpgsql: optimize "SELECT simple-expression INTO var".141141
2026-03-20733f20df537Discount the metapage when estimating number of index pages visited.7777
2026-03-191811f1af98fImprove hash join's handling of tuples with null join keys.410410
2026-03-19dd1398f1378Allow choosing specific grantors via GRANT/REVOKE ... GRANTED BY.Authors: Nathan Bossart, Tom Lane29
2026-03-195a2043bf713Fix transient memory leakage in jsonpath evaluation.360360
2026-03-188df3c7a85ecExclude contrib/pg_plan_advice/pgpa_parser.h from headerscheck.11
2026-03-15bb53b8d359dFix small memory leak in get_dbname_oid_list_from_mfile().Reverted by 7ca548f23a6 on 2026-06-18; 0 of 3 lines credited00
2026-03-140123ce131fcSwitch the semaphore API on Solaris to unnamed POSIX.88
2026-03-142eb87345e18Fix aclitemout() to work during early bootstrap.1212
2026-03-06415100aa62bSupport grouping-expression references and GROUPING() in subqueries.196196
2026-03-05f95d73ed433Simplify creation of built-in functions with non-default ACLs.262262
2026-03-057664319ccb0Be more wary of false matches in initdb's replace_token().1818
2026-03-05ac0accafd6bExit after fatal errors in client-side compression code.2222
2026-03-04e6a1d8f5acbFix estimate_hash_bucket_stats's correction for skewed data.5151
2026-03-02cdaa6756586Fix local-variable shadowing in pg_trgm's printSourceNFA().55
2026-03-0274b4438a70bIn pg_dumpall, don't skip role GRANTs with dangling grantor OIDs.Reverted by 7ca548f23a6 on 2026-06-18; 0 of 28 lines credited00
2026-03-01d80b0225010Correctly calculate "MCV frequency" for a unique column.152152
2026-02-2798616ac18b4Don't flatten join alias Vars that are stored within a GROUP RTE.3838
2026-02-23d743545d847Work around lgamma(NaN) bug on AIX.66
2026-02-23ecae0972523Cope with AIX's alignment woes by using _Pragma("pack").312312
2026-02-192f248ad573cRemove no-longer-useful markers in pg_hba.conf.sample.33
2026-02-18759b03b24ceSimplify creation of built-in functions with default arguments.Authors: Tom Lane, Andrew Dunstan262175
2026-02-166be5b76d66cEnsure that all three build methods install the same set of files.44
2026-02-119863c90759eFix plpgsql's handling of "return simple_record_variable".2626
2026-02-11a3fd53babb8Further stabilize a postgres_fdw test case.2727
2026-02-098ebdf41c262Harden _int_matchsel() against being attached to the wrong operator.220220
2026-02-09841d42cc4e2Require superuser to install a non-built-in selectivity estimator.7777
2026-02-0960e7ae41a69Guard against unexpected dimensions of oidvector/int2vector.8282
2026-02-0773dd7163c5dReplace some hard-wired OID constants with corresponding macros.44
2026-02-07c0bf15729f4meson: host_system value for Solaris is 'sunos' not 'solaris'.11
2026-02-067cdb633c89dMake some minor cleanups in typalign-related code.33
2026-02-02da7a1dc0d62Refactor att_align_nominal() to improve performance.164164
2026-02-020c9f46c4280In s_lock.h, use regular labels with %= instead of local labels.1212
2026-01-306918434a4acMake psql/t/030_pager.pl more robust.Authors: Oleg Tselebrovskiy, Tom Lane7
2026-01-30a1d7ae2b2e3Improve guards against false regex matches in BackgroundPsql.pm.1919
2026-01-29bd9dfac8b12Further fix extended alignment for older g++.66
2026-01-2145762084545Force standard_conforming_strings to always be ON.154154
2026-01-18228fe0c3e68Update time zone data files to tzdata release 2025c.22
2026-01-08b8ccd29152fRemove now-useless btree_gist--1.2.sql script.11
2026-01-08b352d3d80b9Mark GiST inet_ops as opcdefault, and deal with ensuing fallout.187187
2026-01-08b3b0b45717eCreate btree_gist v1.9, in which inet/cidr opclasses aren't default.2,0202,020
2026-01-05b85d5dc0e7eFix meson build of snowball code.22
2026-01-057dc95cc3b94Update to latest Snowball sources.Mechanical: mostly generated or imported files; 103 of 35,635 lines credited103103
2026-01-04e3fbc9a8de7Allow role created by new test to log in on Windows.11
Total16,89717,109

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