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

Projects › PostgreSQL Code Contributions › Contributor Profiles › Chao Li

Author Credits, 2026: Chao Li

Year20262025TableAuthor CreditsNon-Author Mentions

Chao Li is credited as an author of 118 commits from 2026, and listed first in 115. 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-02ede11da551bFix error message in copy_replication_slot()44
2026-12-01026b3b282a4pg_upgrade: Fix use-after-close in cleanup_output_dirs()11
2026-11-254483697be0eClarify final phase of concurrent mode in comment44
2026-11-25650925dad03pg_receivewal, pg_basebackup: Fix temporary file cleanup on errors1414
2026-11-247720f61b7d6Avoid unnecessary allocation for tablesync.c COPY buffer1414
2026-11-231c4628d0b3cAdd missing #undef in simplehash.h.11
2026-11-21892cfb4cbfepg_basebackup: Fix crashes on malformed server responsesAuthors: s1ko, Chao Li4
2026-11-20e7e1835e6b0psql: Fix out-of-bounds reads in prompt expansion66
2026-11-19514bfe2c6dfAvoid rescanning prefixes when choosing a dollar-quote delimiter1212
2026-11-185dce4458944Stop WAL streaming on timeline history file write failures77
2026-11-1058aecdd064cImprove comments for ExecAppendAsyncEventWait.55
2026-11-058e997cb8c9eRemove obsolete comment from AddBufferToRing()00
2026-10-3161a372b795dFix error handling in pg_flush_data() and FilePrefetch()55
2026-10-305e4966e9d23Remove unused parameter from pgstat_execute_transactional_drops().66
2026-10-30426551c8cf4Return INT_MAX or INT_MIN from strtoint() on overflow.88
2026-10-2138c3d87d433Use Size rather than int for storing strnlen's return44
2026-10-197b84cf8cfc7Recompute allocChunkLimit when reusing an AllocSet context5050
2026-10-1594e1385ed28Fix two edge cases in numeric log(base, val).3232
2026-10-15a9999713313Use StringInfo to build the result in oidvectortypes()1313
2026-10-14b128e75ecc6Add missing FreeDir() in CheckTablespaceDirectory()11
2026-10-09e01fc6315f1Fix detection of truncated zstd and LZ4 dump dataAuthors: Chao Li, Daniel Gustafsson233187
2026-10-09e41b01f4359Fix detection of truncated compressed backupsAuthors: Chao Li, Daniel Gustafsson9980
2026-09-291f7013fe089pg_resetwal: Fix handling of commit timestamp XIDs33
2026-09-108db08e25229Rework REPACK's documentation on clusteringAuthors: Chao Li, Álvaro Herrera4631
2026-09-104dd037286e0Fix REPACK command reporting in pg_stat_progress_cluster1616
2026-08-278c9c2e5c09aFix empty FOREIGN_JOIN sublist validation55
2026-08-19bdbf662b1b9Fix relcache reference leak when decoding TRUNCATE33
2026-08-13bcb15f48786doc: Clarify pgbench reporting with --continue-on-error1717
2026-08-111d1d7b0e9c9Use frontend logging API in fe_utils/string_utils.c33
2026-08-05011bbdb4273doc: Clarify wal_sender_shutdown_timeout values1919
2026-08-0403f420c37f8Fix missing MCXT_ALLOC_NO_OOM handling in MemoryContextAllocAligned77
2026-07-2933b392eaabdProtect PGPROC lookup when terminating background workers66
2026-07-2862d1a5f8be8Avoid RETURNING side effects for FOR PORTION OF leftovers.Reverted by a4b26b8f7cd on 2026-09-15; 0 of 52 lines credited00
2026-07-27f4c850d11afFix deparsing of JSON_ARRAY(subquery) with a FORMAT clause2525
2026-07-2020fe90bbb93Fix RLS checks for FOR PORTION OF leftover rowsAuthors: Chao Li, Paul A JungwirthReverted by a4b26b8f7cd on 2026-09-15; 0 of 264 lines credited00
2026-07-19f87375bfba5Fix parsing of underscores in pg_plan_advice occurrence numbersAuthors: Chao Li, Daniel Gustafsson3428
2026-07-19d451ca6917eRemove redundant null-treatment check in window function dedup.Authors: Chao Li, Ewan Young22
2026-07-087258c891d4cRemove unused tuple fetch in speculative completion11
2026-07-0899319edb8f5Deduplicate metapage sanity checks in _bt_gettrueroot()11
2026-07-07bb4142fb68cpostgres_fdw: Report ANALYZE to pgstats after importing statistics.Authors: Chao Li, Etsuro Fujita6745
2026-07-0507abbc93ba5Fix psql's pager selection for wrapped expanded output.4040
2026-07-0396418a6da9dFix handling of dropping a property not associated with the given labelReverted by b1f106c80cb on 2026-09-07; 0 of 14 lines credited00
2026-07-0164402656062doc: Fix pg_stat_autovacuum_scores descriptions.55
2026-07-0155f0a13e96bClear base backup progress on backup failure1212
2026-07-01a78f7390bf1Remove radius from initdb authentication methods.22
2026-06-27f03ecd26396doc: Clarify ALTER CONSTRAINT enforceability behavior1212
2026-06-27d16be8605f5doc: Clarify inherited constraint behavior1919
2026-06-270cd17fdd3c0Prevent inherited CHECK constraints from being weakened386386
2026-06-264df5fe3833aMake crosstabview honor boolean/null display settings9696
2026-06-2630937c60cd9doc: Improve description of pg_get_multixact_stats()Authors: Chao Li, Yingying Chen64
2026-06-256468f7a853cMark uuid-to-bytea cast as leakproof.44
2026-06-2456b2792cf84psql: Add tab completion for subscription wal_receiver_timeout44
2026-06-232af70e93747Fix incorrect declarations of variadic pg_get_*_ddl() functions.1414
2026-06-23049b742daadpsql: Tighten heuristics for BEGIN/END within CREATE SCHEMA.Reverted by f1920437cd4 on 2026-09-11; 0 of 161 lines credited00
2026-06-1864797ad97d6Fix ALTER DOMAIN VALIDATE CONSTRAINT locking6161
2026-06-171f7dfe8c8efAdd tuple deformation test for virtual generated columns2626
2026-06-17ab3023ad1e6Fix error message typo.33
2026-06-160dd93de69e8Fix inconsistencies with pg_restore --statistics[-only]Authors: Chao Li, Michael Paquier8054
2026-06-140131e8fc508Fix oversight in commit aa1f93a33.11
2026-06-12389bd4c5b93amcheck: Fix missing allequalimage corruption report33
2026-06-1244196fd4f37Fix md5_password_warnings for role and database settings6565
2026-06-11987440b33a5Disallow negative values for max_retention_duration.1717
2026-06-10bf5206f0077psql: Add some missing schema qualifications in describe.c99
2026-06-087d13b03a2e6Fix FOR PORTION OF for inheritance childrenAuthors: Jian He, Chao LiReverted by a4b26b8f7cd on 2026-09-15; 0 of 353 lines credited0
2026-06-086ce035ffff4pg_createsubscriber: Fix duplicate publication name rejection.44
2026-06-0689eafad297aFix tuple deforming with virtual generated columns1818
2026-06-064cb2e2fe0aadoc: Clarify OAuth validator authn_id logging99
2026-06-0490354030b8flibpq: Fix "servicefile" after fallback to system service file2020
2026-06-0395b6ec52e68vacuumdb: Fix --analyze-in-stages skipping partitioned tables1212
2026-05-29db5ed03217bAvoid leaking system path from pg_available_extensions88
2026-05-28af23353a73dpostgres_fdw: Fix whitespace violation in connection.cAuthors: Chao Li, Fujii Masao22
2026-05-266aa26be288fFix calculation of members_size in pg_get_multixact_stats()4040
2026-05-25377cc45194fdoc: Clarify CHECKPOINT handling of unlogged buffers44
2026-05-257e5d8bd013epsql: Tab completion for CHECKPOINT FLUSH_UNLOGGED boolean options22
2026-05-25e64a9ba2b4fReject degenerate SPLIT PARTITION with DEFAULT partitionReverted by 7612ae8ed8c on 2026-08-26; 0 of 259 lines credited00
2026-05-23c37b38806a1Avoid exposing WAL receiver raw conninfo during timeline jumps2222
2026-05-2306a5c3cdef0Set notice receiver before libpq connection startup completes6969
2026-05-20d8af7301003Reject degenerate SPLIT PARTITION with DEFAULT partitionReverted by 0392fb900eb on 2026-05-20; 0 of 261 lines credited00
2026-05-1983df16f1fa5Clarify SPLIT PARTITION bound requirements in docsReverted by 7612ae8ed8c on 2026-08-26; 0 of 14 lines credited00
2026-05-19971017c4959Fix SPLIT PARTITION hint for DEFAULT partition boundsReverted by 7612ae8ed8c on 2026-08-26; 0 of 13 lines credited00
2026-05-199354896920eFix SPLIT PARTITION range bound validation with DEFAULTReverted by 7612ae8ed8c on 2026-08-26; 0 of 33 lines credited00
2026-05-18a28fa2947d2Fix issues with handling of expressions in extended stats restore5252
2026-05-1826269fe3c83Fix IGNORE NULLS nullness cache for volatile window arguments.127127
2026-05-174111b91ab3ddoc: Fix example of pg_restore_extended_stats()11
2026-05-1482f0135a263Fix attribute mapping for COPY TO on partitioned tables.2222
2026-05-14954e57708eaFix jsonpath .split_part() to honor silent mode3434
2026-05-128268e41aca2pg_stat_statements: Fix potential use-after-free of PlannedStmtAuthors: Chao Li, Michael Paquier5948
2026-05-1136f52a59b31Fix REPACK with WITHOUT OVERLAPS replica identity indexes417417
2026-05-01b772f3fcad1Only show signal-sender PID/UID detail in server log77
2026-04-305642a0367c2Avoid SIGSEGV in pg_get_database_ddl() on NULL tablespace77
2026-04-27832e220d99aREPACK CONCURRENTLY: Don't use deferrable primary keys102102
2026-04-24863c4b827d9pg_test_timing: store timing deltas in int641717
2026-04-24019cc9962bdpg_test_timing: fix unit in backward-clock warning11
2026-04-234f0cbc6fb5dFix new-to-v19 -Wshadow warnings4242
2026-04-2131b0544b32bbufmgr: use I/O stats arguments in FlushUnlockedBuffer()22
2026-04-16ee550254a29Use proc_exit() for walreceiver exit in WalRcvWaitForStartPosition()44
2026-04-1180156cee06bHonor passed-in database OIDs in pgstat_database.c2929
2026-04-075c54c3ed1b9Fix deferred FK check batching introduced by commit b7b27eb41a5Authors: Chao Li, Amit Langote2218
2026-04-06d78a4f0bf05Simplify redundant current_database() subqueries in stats.sql regression test1212
2026-03-171a7ccd2b332Refactor some code around ALTER TABLE [NO] INHERIT3232
2026-03-17cbf9a72993eAdd regression test for ALTER TABLE .. NO INHERIT on typed tables55
2026-03-16c336133c65aReject ALTER TABLE .. CLUSTER earlier for partitioned tables66
2026-03-1059bae234352Remove duplicate initialization in initialize_brin_buildstate().00
2026-03-09173aa8c5e89doc: Document IF NOT EXISTS option for ALTER FOREIGN TABLE ADD COLUMN.2525
2026-03-059b0e5bd5320doc: Clarify that COLUMN is optional in ALTER TABLE ... ADD/DROP COLUMN.2020
2026-03-04c70f6dc6bd7Fix yet another bug in archive streamer with LZ4 decompression.55
2026-03-03cece37c9843Reduce scope of for-loop-local variables to avoid shadowing88
2026-03-03bae42a54e3ddoc: Clarify that empty COMMENT string removes the comment.6363
2026-02-2670f470314cbFix ProcWakeup() resetting wrong waitStart field.11
2026-02-0918f0afb2a63Fix incorrect iteration type in extension_file_exists()33
2026-01-294b77282f250psql: Disable %P (pipeline status) for non-active connection22
2026-01-29efbebb4e858Add support for "mcv" in pg_restore_extended_stats()Authors: Corey Huinker, Chao Li164
2026-01-288f1e2dfe033Consolidate replication origin session globals into a single struct.7979
2026-01-28227eb4eea20Refactor replication origin state reset helpers.2626
2026-01-09e2aae8d68f6doc: Improve description of publish_via_partition_rootAuthors: Chao Li, Peter Smith96
2026-01-0663ed3bc7f9aFix typo in slot.c.11
2026-01-05e212a0f8e6bpg_visibility: Fix incorrect buffer lock description in comment.11
2026-01-044f49e4b55e7Fix selectivity estimation integer overflow in contrib/intarray77
Total3,0993,113

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