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

Projects › PostgreSQL Code Contributions › Contributor Profiles › Tom Lane

Author Credits, 2021: Tom Lane

Tom Lane is credited as an author of 491 commits from 2021, and listed first in 442. 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
2021-12-313e6e86abca0pg_dump: avoid unsafe function calls in getPolicies().2929
2021-12-31d5e8930f50epg_dump: minor performance improvements from eliminating sub-SELECTs.217217
2021-12-305e65df64d63pg_dump: make dumpPublication et al. less unlike sibling functions.2323
2021-12-30c7cf73eb7b9Minor cleanup/optimization in pg_dump.2929
2021-12-291fb17b19034Fix issues in pgarch's new directory-scanning logic.4242
2021-12-27cab5b9ab2c0Revert changes about warnings/errors for placeholders.A revert, so no lines credited00
2021-12-275609cc01c69Rename EmitWarningsOnPlaceholders() to MarkGUCPrefixReserved().Reverted by cab5b9ab2c0 on 2021-12-27; 0 of 24 lines credited00
2021-12-272ed8a8cc5b6Rethink handling of settings with a prefix reserved by an extension.Reverted by cab5b9ab2c0 on 2021-12-27; 0 of 60 lines credited00
2021-12-210f2abd05441Add help & tab-complete support for psql's \getenv.33
2021-12-200e6e7f0806bMerge dblink's paths test script into its main test.4242
2021-12-20dc9c3b0ff21Remove dynamic translation of regression test scripts, step 2.88
2021-12-20d1029bb5a26Remove dynamic translation of regression test scripts, step 1.477477
2021-12-2033d3eeadb21Add a \getenv command to psql.8787
2021-12-19b1c169caf06Remove some more dead code in pg_dump.66
2021-12-17944dc45d1b6Fix the public schema's permissions in a separate test script.1212
2021-12-169c356f4b2ddEnsure casting to typmod -1 generates a RelabelType.6060
2021-12-16cf0cab868aaRemove psql support for server versions preceding 9.2.104104
2021-12-16c49d926833fClean up some more freshly-dead code in pg_dump and pg_upgrade.1111
2021-12-15bbc227e951eAlways use ReleaseTupleDesc after lookup_rowtype_tupdesc et al.1010
2021-12-152a712066d05Remove pg_dump's --no-synchronized-snapshots switch.33
2021-12-14e469f0aaf3cRemove pg_upgrade support for upgrading from pre-9.2 servers.1818
2021-12-1430e7c175b81Remove pg_dump/pg_dumpall support for dumping from pre-9.2 servers.159159
2021-12-14a2ff18e89ffImprove sift up/down code in binaryheap.c and logtape.c.Authors: Ma Liangzhu, Tom Lane21
2021-12-13189699dd368Remove unimplemented/undocumented geometric functions & operators.11
2021-12-13922b23c13beDoc: de-document unimplemented geometric operators.11
2021-12-13c5c192d7bdfImplement poly_distance().122122
2021-12-1107eee5a0dc6Create a new type category for "internal use" types.2929
2021-12-086f0e6ab04deDoc: improve xfunc-c-type-table.2828
2021-12-07ed52c3707bcOn Windows, also call shutdown() while closing the client socket.Reverted by 29992a6a509 on 2022-03-22, after 2021, so still credited33
2021-12-0665aaed22a84Account for TOAST data while scheduling parallel dumps.2323
2021-12-06be85727a3dfUse PREPARE/EXECUTE for repetitive per-object queries in pg_dump.240240
2021-12-069895961529eAvoid per-object queries in performance-critical paths in pg_dump.544544
2021-12-06e3fcbbd623bPostpone calls of unsafe server-side functions in pg_dump.6464
2021-12-060c9d84427f4Rethink pg_dump's handling of object ACLs.777777
2021-12-065209c0ba0bfRefactor pg_dump's tracking of object components to be dumped.314314
2021-12-026051857fc95On Windows, close the client socket explicitly during backend shutdown.Reverted by 29992a6a509 on 2022-03-22, after 2021, so still credited2020
2021-12-02a7da4198102Add configure probe for rl_variable_bind().1515
2021-12-013d858af07eepsql: initialize comment-begin setting to a useful value by default.66
2021-12-01c2f654930e9psql: treat "--" comments between queries as separate history entries.Authors: Greg Nancarrow, Tom Lane2
2021-12-0183884682f4dpsql: include intra-query "--" comments in what's sent to the server.1111
2021-11-30b637101644aCope with cross-compiling when checking for a random-number source.77
2021-11-29e04a8059a74Simplify declaring variables exported from libpgcommon and libpgport.A revert, so no lines credited00
2021-11-2911b500072e4Portability hack for pg_global_prng_state.Reverted by e04a8059a74 on 2021-11-29; 0 of 4 lines credited00
2021-11-244ac452e2285Doc: improve documentation about nextval()/setval().2222
2021-11-22b55f2b69265Adjust pg_dump's priority ordering for casts.1010
2021-11-22db3a660c632Pacify perlcritic.33
2021-11-220b126c6a4b0Fix pg_dump --inserts mode for generated columns with dropped columns.111111
2021-11-22c4fe3199a6dProbe $PROVE not $PERL while checking for modules needed by TAP tests.Authors: Andrew Dunstan, Tom Lane17
2021-11-21282b6d00abfpg_receivewal, pg_recvlogical: allow canceling initial password prompt.2020
2021-11-2192e70796e91Doc: update some things relevant to minimum Test::More version.55
2021-11-20f4e7ae2b8a6Fix SP-GiST scan initialization logic for binary-compatible cases.4242
2021-11-18276517a9648Use appropriate -Wno-warning switches when compiling bitcode.222222
2021-11-175f1148224bdProvide a variant of simple_prompt() that can be interrupted by ^C.Authors: Nathan Bossart, Tom Lane19
2021-11-17a148f8bc04bAdd a planner support function for starts_with().9595
2021-11-17248c3a937ddClean up error handling in pg_basebackup's walmethods.c.168168
2021-11-173cac2c8caaeHandle close() failures more robustly in pg_dump and pg_basebackup.2424
2021-11-17a8d8445a7b2Fix display of SQL-standard function's arguments in INSERT/SELECT.3838
2021-11-12d6eb5a0c258Make psql's \password default to CURRENT_USER, not PQuser(conn).2121
2021-11-12f8abb0f5e11postgres_fdw: suppress casts on constants in limited cases.Authors: Dian M Fay, Tom Lane39
2021-11-1101ec41a5fe4Fall back to unsigned int, not int, for socklen_t.22
2021-11-10c3b33698cf8Doc: improve protocol spec for logical replication Type messages.2323
2021-11-09b66767b56b1Fix instability in 026_overwrite_contrecord.pl test.77
2021-11-08b0cf5444f9aFix incorrect format placeholder.11
2021-11-08160c0258802libpq: reject extraneous data after SSL or GSS encryption handshake.5454
2021-11-0828e24125541Reject extraneous data after SSL or GSS encryption handshake.3737
2021-11-07c3ec4f8fe86Silence uninitialized-variable warning.33
2021-11-07568620dfd69contrib/sslinfo needs a fix too to make hamerkop happy.1111
2021-11-0627ef132a805Doc: add some notes about performance of the List functions.5555
2021-11-063c2c391dc9fBlind attempt to fix MSVC pgcrypto build.11
2021-11-061241fcbd7e6Second attempt to silence SSL compile failures on hamerkop.2323
2021-11-06d8bf0a1c1d3Un-break pg_basebackup's MSVC build.44
2021-11-0224f9e49e430Blind attempt to silence SSL compile failures on hamerkop.22
2021-11-027d9ec0754afDoc: clean up some places that mentioned template1 but not template0.2525
2021-11-02af8c580e5cfDoc: be more precise about conflicts between relation names.1616
2021-11-0265c6cab1365Avoid O(N^2) behavior in SyncPostCheckpoint().103103
2021-11-01e9d9ba2a4ddAvoid some other O(N^2) hazards in list manipulation.2727
2021-10-31a667b066837Don't try to read a multi-GB pg_stat_statements file in one call.2020
2021-10-31b21415595caDoc: improve README files associated with TAP tests.3535
2021-10-31acb2d7d5d23plpgsql: report proper line number for errors in variable initialization.4949
2021-10-29a2a731d6c9dTest and document the behavior of initialization cross-refs in plpgsql.7676
2021-10-29937aafd6d55Update time zone data files to tzdata release 2021e.6060
2021-10-287f580aa5d88Improve contrib/amcheck's tests for CREATE INDEX CONCURRENTLY.4141
2021-10-2470bef494000Fix minor memory leaks in pg_dump.5555
2021-10-2292316a4582aIn pg_dump, use simplehash.h to look up dumpable objects by OID.209209
2021-10-22974aedcea46Fix frontend version of sh_error() in simplehash.h.99
2021-10-21b1ce6c28436Doc: clarify a critical and undocumented aspect of simplehash.h.11
2021-10-20f45dc59a38cImprove pg_regress.c's infrastructure for issuing psql commands.9191
2021-10-194438eb4a495pg_dump: Reorganize getTables()261261
2021-10-193e310d837a9Fix assignment to array of domain over composite.5555
2021-10-19697dd1925f4Remove bogus assertion in transformExpressionList().33
2021-10-1640dfac4fc47Avoid core dump in pg_dump when dumping from pre-8.3 server.11
2021-10-16e2ff7d9a83dMake pg_dump acquire lock on partitioned tables that are to be dumped.11
2021-10-144d5f651f1d6Fix planner error with pulling up subquery expressions into function RTEs.4949
2021-10-114a235efddaaMake configure check for minimum required version of IPC::Run.66
2021-10-1139ae0ef8561Fix EXPLAIN of SEARCH BREADTH FIRST queries some more.22
2021-10-103eb1f4d0974Doc: update testing recipe in src/test/perl/README.2424
2021-10-092ae5d72f004Doc: improve documentation for ^@ starts-with operator.3333
2021-10-0708e2daf06c7Doc: update our claims about the minimum recommended AIX version.99
2021-10-0793fb39eca64Update test/perl/README to insist on Perl version >= 5.8.3, too.33
2021-10-063071bbfe44fFix null-pointer crash in postgres_fdw's conversion_error_callback.5050
2021-10-06db692b0c849Doc: improve timezone/README's recipe for tracking Windows zones.1111
2021-10-05f3fec23dbdeDoc: improve description of UNION/INTERSECT/EXCEPT syntax.4343
2021-10-04c1aa3b3c0d2Update our mapping of Windows time zone names some more.1414
2021-10-0436d1a848a86Doc: fix minor issues in GiST support function documentation.2222
2021-10-03a0558cfa395Fix checking of query type in plpgsql's RETURN QUERY command.186186
2021-10-029b8d68cc658Update our mapping of Windows time zone names using CLDR info.106106
2021-10-02ad740067aeaRe-alphabetize the win32_tzmap[] array.3535
2021-10-018c1144ba734Avoid believing incomplete MCV-only stats in get_variable_range().2222
2021-10-017b5d4c29ed0Fix Portal snapshot tracking to handle subtransactions properly.Authors: Bertrand Drouvot, Tom Lane18
2021-09-3020f8671ef69Remove gratuitous environment dependency in 002_types.pl test.33
2021-09-286bc6bd47cf7Fix instability in contrib/bloom TAP tests.33
2021-09-277d1aa6bf1c2Re-enable contrib/bloom's TAP tests.11
2021-09-26e94c1a55dadAvoid unnecessary division in interval_cmp_value().55
2021-09-257b0be9fb2ddDoc: extend warnings about collation-mismatch hazards in postgres_fdw.1313
2021-09-214476bcb8773Fix misevaluation of STABLE parameters in CALL within plpgsql.6262
2021-09-205577cd571adDoc: minor improvements for "Formatting" section.77
2021-09-19d5eeb51bc05Doc: fix typos.22
2021-09-17a21049fd3f6Fix pull_varnos to cope with translated PlaceHolderVars.8282
2021-09-163f50b826396Fix EXPLAIN to handle SEARCH BREADTH FIRST queries.170170
2021-09-15e3ec3c00d85Remove arbitrary 64K-or-so limit on rangetable size.Authors: Andrei Lepikhov, Tom Lane15
2021-09-151316be28664Disallow LISTEN in background workers.1717
2021-09-1469e31d05b0aImprove log messages from pg_import_system_collations().Authors: Anton Voloshin, Tom Lane2
2021-09-142e4eae87d02Send NOTIFY signals during CommitTransaction.Authors: Arthur Zakirov, Tom Lane38
2021-09-14e8638d78a2cFix planner error with multiple copies of an AlternativeSubPlan.102102
2021-09-13138531f1bbcClear conn->errorMessage at successful completion of PQconnectdb().77
2021-09-131882d6cca16Doc: improve documentation of CREATE/ALTER SUBSCRIPTION.Authors: Peter Smith, Tom Lane25
2021-09-131bf2518dd67Fix EXIT out of outermost block in plpgsql.2727
2021-09-11e757080e041Make pg_regexec() robust against out-of-range search_start.22
2021-09-10c1b7a6c2731Fix some anomalies with NO SCROLL cursors.130130
2021-09-09cba79a16326Avoid fetching from an already-terminated plan.1515
2021-09-098481f99896aCheck for relation length overrun soon enough.1111
2021-09-08072e2f8a620Avoid useless malloc/free traffic around getFormattedTypeName().2929
2021-09-08490798451a3Fix misleading comments about TOAST access macros.22
2021-09-08362e2dcc461Fix rewriter to set hasModifyingCTE correctly on rewritten queries.Authors: Greg Nancarrow, Tom Lane28
2021-09-06bd5846e4a9cFurther fix psql query-cancel test.11
2021-09-0689dba59590fFix actively-misleading comments about the contents of struct pg_tm.99
2021-09-06388e71af880Make timetz_zone() stable, and correct a bug for DYNTZ abbreviations.Authors: Aleksander Alekseev, Tom Lane5
2021-09-04b30cc0fd6d5Further portability tweaks for float4/float8 hash functions.1212
2021-09-04ac5ea660996Minor improvements for psql help output.Authors: Haiying Tang, Tom Lane1
2021-09-03db2760a8419Disallow creating an ICU collation if the DB encoding won't support it.1919
2021-09-03fd549145d5dFix portability issue in tests from commit ce773f230.44
2021-09-02c95ede41b8dIn count_usable_fds(), duplicate stderr not stdin.55
2021-09-02ce773f230d9Fix float4/float8 hash functions to produce uniform results for NaNs.6363
2021-09-012dc53fe2a77Refactor postgresImportForeignSchema to avoid code duplication.1616
2021-08-31bd3611db5a6In pg_dump, avoid doing per-table queries for RLS policies.3333
2021-08-316c450a861f1Cache the results of format_type() queries in pg_dump.1515
2021-08-31589be6f6c73Fix missed lock acquisition while inlining new-style SQL functions.6262
2021-08-2910d58228bb1Doc: add a little about LACON execution to src/backend/regex/README.3333
2021-08-273778bcb39a9Count SP-GiST index scans in pg_stat statistics.44
2021-08-278f72becd6b9Handle interaction of regexp's makesearch and MATCHALL more honestly.2323
2021-08-25373e08a9f77Remove redundant test.44
2021-08-2465dc30ced64Fix regexp misbehavior with capturing parens inside "{0}".6666
2021-08-239bbf6f7341fPrevent regexp back-refs from sometimes matching when they shouldn't.7171
2021-08-2126ae6609039Improve error messages about misuse of SELECT INTO.4747
2021-08-20facce1da918Fix performance bug in regexp's citerdissect/creviterdissect.1010
2021-08-198d2d6ec7708Avoid trying to lock OLD/NEW in a rule with FOR UPDATE.6060
2021-08-182313dda9d49Fix check_agg_arguments' examination of aggregate FILTER clauses.4444
2021-08-176b71c925cb8Prevent ALTER TYPE/DOMAIN/OPERATOR from changing extension membership.3939
2021-08-17b66336c4e1aReduce assumptions about locale's behavior in new regex tests.99
2021-08-1778a843f119cImprove regex compiler's arc moving/copying logic.338338
2021-08-163aafc030a53Reduce memory consumption for pending invalidation messages.272272
2021-08-130a208ed63ffUn-break s_lock_test.22
2021-08-10a6bd28beb06Fix failure of btree_gin indexscans with "char" type and </<= operators.1010
2021-08-0918bac60ede4Let regexp_replace() make use of REG_NOSUB when feasible.9090
2021-08-090e6aa8747d4Avoid determining regexp subexpression matches, when possible.150150
2021-08-08cf5ce5aa70dDoc: remove bogus <indexterm> items.00
2021-08-0800116dee5adRethink regexp engine's backref-related compilation state.4747
2021-08-07cb76fbd7ec8Make regexp engine's backref-related compilation state more bulletproof.3535
2021-08-07cc1868799c8Fix use-after-free issue in regexp engine.7373
2021-08-079179a82d7afReally fix the ambiguity in REFRESH MATERIALIZED VIEW CONCURRENTLY.4747
2021-08-065c056b0c251Don't elide casting to typmod -1.7575
2021-08-0364243370735Add assorted new regexp_xxx SQL functions.Authors: Gilles Darold, Tom Lane267
2021-07-3164a1f225654Doc: alphabetize the regexp_foo() function descriptions in 9.7.3.4343
2021-07-31ef12f32c087Use elog, not Assert, to report failure to provide an outer snapshot.22
2021-07-29514b4c11d24Improve libpq's handling of OOM during error message construction.4242
2021-07-27336ea6e6ff1Fix bugs in polymorphic-argument resolution for multiranges.291291
2021-07-27674f6fe8e65Stabilize output of new regression test.88
2021-07-27024515cac50In event triggers, use "pg_temp" only for our own temp schema.11
2021-07-2528d936031a8Get rid of artificial restriction on hash table sizes on Windows.151151
2021-07-246310809c4aaFix check for conflicting session- vs transaction-level locks.144144
2021-07-243779ac62d70Make printf("%s", NULL) print "(null)" instead of crashing.99
2021-07-2476fa3db3365Remove configure-time thread safety checking (thread_test.c).4343
2021-07-24678f5448c2dFix failure of some headers to compile "standalone".22
2021-07-217fa1e1ef741Doc: improve documentation about exponentiation operator.99
2021-07-20d9809bf8694Fix corner-case uninitialized-variable issues in plpgsql.7474
2021-07-17665c5855e58Doc: document the current-transaction-modes GUCs.7474
2021-07-15a49d0812359Replace explicit PIN entries in pg_depend with an OID range test.284284
2021-07-15e529b2dc37aEnsure HAVE_DECL_XXX macros in MSVC builds match those in Unix.55
2021-07-13d68a0039121Rename debug_invalidate_system_caches_always to debug_discard_caches.9494
2021-07-11626731db26aLock the extension during ALTER EXTENSION ADD/DROP.1111
2021-07-109f6be2e79f8Fix busted test for ldap_initialize.1414
2021-07-0953c38a086a8Un-break AIX build, take 2.4848
2021-07-0931e8cfac584Un-break AIX build.1717
2021-07-09d23ac62afa6Avoid creating a RESULT RTE that's marked LATERAL.1515
2021-07-09a9da1934e97Reject cases where a query in WITH rewrites to just NOTIFY.6363
2021-07-07b9734c13f16Fix crash in postgres_fdw for provably-empty remote UPDATE/DELETE.2727
2021-07-06955b3e0f926Allow CustomScan providers to say whether they support projections.Authors: Sven Klemm, Tom Lane4
2021-07-0664919aaab45Reduce the cost of planning deeply-nested views.1111
2021-07-06c7b7311f617Avoid doing catalog lookups in postgres_fdw's conversion_error_callback.4848
2021-07-06ab2e19987ffDoc: add info about timestamps with fractional-minute UTC offsets.3838
2021-07-059753324b7d9Reduce overhead of cache-clobber testing in LookupOpclassInfo().2424
2021-07-05c04c767059bRethink blocking annotations in detach-partition-concurrently-[34].136136
2021-07-03792259591c0Further restrict the scope of no-exit()-in-libpq test.99
2021-07-01b741f4c3ee6Add --clobber-cache option to initdb, for CCA testing.2929
2021-07-012f7bae2f924Improve build-time check that libpq doesn't call exit().66
2021-06-30e45b0dfa1f1Fix portability fallout from commit dc227eb82.77
2021-06-29dd2364ced98Fix bogus logic for reporting which hash partition conflicts.2929
2021-06-29dc227eb82eaAdd a build-time check that libpq doesn't call exit() or abort().88
2021-06-29aaddf6ba09eRemove libpq's use of abort(3) to handle mutex failure cases.1515
2021-06-2814b2ffaf7ffDoc: further updates for RELEASE_CHANGES process notes.1212
2021-06-286f5d9bce57aDon't use abort(3) in libpq's fe-print.c.4343
2021-06-2801697e92a46Don't depend on -fwrapv semantics in pgbench's random() function.55
2021-06-27642c0697c96Remove memory leaks in isolationtester.1717
2021-06-26dcffc9ba8a1Doc: update v14 release notes for revert of commit c0cb87fbb.00
2021-06-268ec00dc5cd7Remove undesirable libpq dependency on stringinfo.c.1717
2021-06-255a0f1c8c019Remove unnecessary failure cases in RemoveRoleFromObjectPolicy().4343
2021-06-258a80562d732Doc: remove commit f560209c6 from v14 release notes.00
2021-06-2480217709099Further stabilize postgres_fdw test.1818
2021-06-23a443c1b2d6aAllow non-quoted identifiers as isolation test session/step names.Mechanical: mostly reformatting; 52 of 3,865 lines credited5252
2021-06-232031e1668e5Doc: fix confusion about LEAKPROOF in syntax summaries.88
2021-06-23126cdaf47afDon't assume GSSAPI result strings are null-terminated.2626
2021-06-234a054069a36Improve display of query results in isolation tests.25,56625,566
2021-06-22741d7f1047fUse annotations to reduce instability of isolation-test results.1,0431,043
2021-06-22d102aafb625Restore the portal-level snapshot for simple expressions, too.4949
2021-06-205843659d091Stabilize test case added by commit f61db909d.1212
2021-06-196991e774e03Provide feature-test macros for libpq features added in v14.1111
2021-06-18d21fca08435Fix misbehavior of DROP OWNED BY with duplicate polroles entries.4646
2021-06-1884bee961096Improve version reporting in pgbench.3636
2021-06-187c337b6b527Centralize the logic for protective copying of utility statements.5656
2021-06-16131ea3e908dFix plancache refcount leak after error in ExecuteQuery.1111
2021-06-166b787d9e320Improve SQLSTATE reporting in some replication-related code.8888
2021-06-15d3c878499c9Update another variant expected-result file.33
2021-06-15f6352a0d4e4Remove another orphan expected-result file.00
2021-06-140a1e80c5c4fUpdate variant expected-result file.11
2021-06-14ffbe9dec135Remove orphaned expected-result file.00
2021-06-13f807e3410fdWork around portability issue with newer versions of mktime().2626
2021-06-12f452aaf7d4aRestore robustness of TAP tests that wait for postmaster restart.88
2021-06-12fe6a20ce54cDon't use Asserts to check for violations of replication protocol.8585
2021-06-11ab55d742eb7Fix multiple crasher bugs in partitioned-table replication logic.146146
2021-06-10e56bce5d437Reconsider the handling of procedure OUT parameters.1,0351,035
2021-06-103a09d75b4f6Rearrange logrep worker's snapshot handling some more.4747
2021-06-10bb4aed46a5aShut down EvalPlanQual machinery when LockRows node reaches the end.55
2021-06-109bb5eecce64Avoid ECPG test failures in some GSS-capable environments.77
2021-06-08be900989074Force NO SCROLL for plpgsql's implicit cursors.1414
2021-06-08ba2c6d6cec0Avoid misbehavior when persisting a non-stable cursor.121121
2021-06-08bfeede9fa46Don't crash on empty statements in SQL-standard function bodies.Authors: Julien Rouhaud, Tom Lane2
2021-06-07d16ebfbff74Stabilize contrib/seg regression test.44
2021-06-0742f94f56bf9Fix incautious handling of possibly-miscoded strings in client code.6868
2021-06-06a65e9f3f140Fix inconsistent equalfuncs.c behavior for FuncCall.funcformat.11
2021-06-04f61db909dfbFix postgres_fdw failure with whole-row Vars of type RECORD.8686
2021-06-033590680b85aFix incorrect permissions on pg_subscription.Authors: Euler Taveira, Tom Lane1
2021-06-022955c2be79bRe-allow custom GUC names that have more than two components.3131
2021-06-0279c50ca5782Update plannodes.h's comments about PlanRowMark.44
2021-06-029e3b3ff2664Teach tab-complete.c about recently-added CREATE TYPE options.Authors: Haiying Tang, Tom Lane1
2021-06-011103033aedcReject SELECT ... GROUP BY GROUPING SETS (()) FOR UPDATE.1212
2021-05-316ee41a301e7Fix mis-planning of repeated application of a projection.4646
2021-05-29ba356a397deDoc: improve libpq service-file docs, avoid overspecifying pathnames.Authors: Haiying Tang, Tom Lane12
2021-05-27a4390abecf0Reduce the range of OIDs reserved for genbki.pl.3535
2021-05-27e6241d8e030Rethink definition of pg_attribute.attcompression.250250
2021-05-25e30e3fdea87Fix use of uninitialized variable in inline_function().2222
2021-05-24713a431c781Doc: move some catalogs.sgml entries to the right place.Authors: Guillaume Lelarge, Tom Lane4
2021-05-23f5024d8d7b0Re-order pg_attribute columns to eliminate some padding space.Authors: Michael Paquier, Tom Lane26
2021-05-23bc2a389efb3Be more verbose when the postmaster unexpectedly quits.2020
2021-05-22b39630fd41fFix access to no-longer-open relcache entry in logical-rep worker.129129
2021-05-2230168be8f75Remove plpgsql's special-case code paths for SET/RESET.33
2021-05-214b10074453dDisallow whole-row variables in GENERATED expressions.2323
2021-05-212b0ee126bbfFix usage of "tableoid" in GENERATED expressions.3838
2021-05-2184f5c2908daRestore the portal-level snapshot after procedure COMMIT/ROLLBACK.307307
2021-05-20f21fadafaf0Avoid detoasting failure after COMMIT inside a plpgsql FOR loop.8888
2021-05-206d59a218c38Clean up cpluspluscheck violation.44
2021-05-19413c1ef98e0Avoid creating testtablespace directories where not wanted.4040
2021-05-17e4f9737fac7Stamp 14beta1.1010
2021-05-1530d8bad494aBe more careful about barriers when releasing BackgroundWorkerSlots.1212
2021-05-14c3c35a733c7Prevent infinite insertion loops in spgdoinsert().8888
2021-05-14eb7a6b92294Fix query-cancel handling in spgdoinsert().4545
2021-05-14e47f93f981cRefactor CHECK_FOR_INTERRUPTS() to add flexibility.Authors: Álvaro Herrera, Tom Lane11
2021-05-127dde98728a2Double-space commands in system_constraints.sql/system_functions.sql.4949
2021-05-121f9b0e69380Doc: update bki.sgml's statements about OID ranges.22
2021-05-1214472442861Do pre-release housekeeping on catalog data.5555
2021-05-12def5b065ff2Initial pgindent and pgperltidy run for v14.Mechanical, going by its subject; 0 of 1,554 lines credited00
2021-05-11e135743ef07Reduce runtime of privileges.sql test under CLOBBER_CACHE_ALWAYS.1111
2021-05-110b85fa93e45Fix vcregress.pl's ancient misspelling of --max-connections.33
2021-05-111df3555acc7Get rid of the separate serial_schedule list of tests.1515
2021-05-116303a573091Replace opr_sanity test's binary_coercible() function with C code.216216
2021-05-10049e1e2edb0Fix mishandling of resjunk columns in ON CONFLICT ... UPDATE tlists.257257
2021-05-10f02b9085ad2Prevent integer overflows in array subscripting calculations.6161
2021-05-098dc3d68cbe6Improve comments about USE_VALGRIND in pg_config_manual.h.77
2021-05-08a55a98477b6Sync guc.c and postgresql.conf.sample with the SGML docs.Authors: Bharath Rupireddy, Justin Pryzby, Tom LaneReverted by c2dc19342e0 on 2021-05-10; 0 of 71 lines credited0
2021-05-08f9b809e7fbeDoc: copy-editing for debug_invalidate_system_caches_always description.1010
2021-05-06c38cadc0907Doc: trivial wording adjustment.11
2021-05-05e8ce68b0b9aDoc: update RELEASE_CHANGES checklist.66
2021-05-05f33a178a348Doc: improve and centralize the documentation for OID alias types.102102
2021-05-041273a15bf91Disable cache clobber to avoid breaking postgres_fdw termination test.2323
2021-05-03f68970e33f4Fix performance issue in new regex match-all detection code.357357
2021-04-30e6f9539dc32Doc: add an example of a self-referential foreign key to ddl.sgml.2626
2021-04-30386e64ea5abDoc: update libpq's documentation for PQfn().2020
2021-04-302efcd502e56Disallow calling anything but plain functions via the fastpath API.99
2021-04-29c9c37ae03feImprove wording of some pg_upgrade failure reports.1919
2021-04-2957c081de0afFix some more omissions in pg_upgrade's tests for non-upgradable types.123123
2021-04-289626325da5eAdd heuristic incoming-message-size limits in the server.8282
2021-04-28c93f8f3b8d3Doc: fix discussion of how to get real Julian Dates.77
2021-04-2604942bffd0aRemove rewriteTargetListIU's expansion of view targetlists in UPDATE.44
2021-04-2679a5928ebcbDoc: document EXTRACT(JULIAN ...), improve Julian Date explanation.6161
2021-04-2508a98696652Update comments for rewriteTargetListIU().44
2021-04-22d479d002852Don't crash on reference to an un-available system column.120120
2021-04-20783be78ca91Improve WAL record descriptions for SP-GiST records.6767
2021-04-209e411482291Fix under-parenthesized XLogRecHasBlockRef() macro.22
2021-04-207645376774cRename find_em_expr_usable_for_sorting_rel.2525
2021-04-2037539824416Fix planner failure in some cases of sorting by an aggregate.Authors: James Coleman, Tom Lane85
2021-04-16f24b1569970Rethink extraction of collation dependencies.Reverted by ec483147082 on 2021-05-07; 0 of 71 lines credited00
2021-04-168a2df442b65Update dummy prosrc values.4646
2021-04-16767982e3629Convert built-in SQL-language functions to SQL-standard-body style.402402
2021-04-16e8094937256Split function definitions out of system_views.sql into a new file.Mechanical: mostly code moved; 0 of 401 lines credited00
2021-04-16ef387bed87fFix bogus collation-version-recording logic.Reverted by ec483147082 on 2021-05-07; 0 of 10 lines credited00
2021-04-15409723365b2Provide query source text when parsing a SQL-standard function body.1010
2021-04-1583efce7a1ebRevert "Cope with NULL query string in ExecInitParallelPlan()."A revert, so no lines credited00
2021-04-151111b2668d8Undo decision to allow pg_proc.prosrc to be NULL.103103
2021-04-153157cbe9748Stabilize recently-added information_schema test queries.2222
2021-04-14e1623b7d868Fix obsolete comments referencing JoinPathExtraData.extra_lateral_rels.55
2021-04-14ac725ee0f98doc: Move force_parallel_mode to section for developer optionsAuthors: Justin Pryzby, Tom Lane17
2021-04-136c0373ab773Allow table-qualified variable names in ON CONFLICT ... WHERE.5252
2021-04-1369d5ca484b6Fix some inappropriately-disallowed uses of ALTER ROLE/DATABASE SET.3434
2021-04-13c2db458c103Redesign the caching done by get_cached_rowtype().176176
2021-04-1334f581c39e9Avoid improbable PANIC during heap_update.4040
2021-04-12cf0020080a3Remove no-longer-relevant test case.Reverted by ec483147082 on 2021-05-07; 0 of 3 lines credited00
2021-04-12c402b02b9fbFix old bug with coercing the result of a COLLATE expression.3535
2021-04-116277435a8a8Silence some Coverity warnings and improve code consistency.2020
2021-04-11d7cff12c4c0Add macro PGWARNING, and make PGERROR available on all platforms.99
2021-04-119cb92334092Fix uninitialized variable from commit a4d75c86b.11
2021-04-1099964c4ade4Fix failure of xlogprefetch.h to include all prerequisite headers.11
2021-04-08d1fcbde579dAdd support for tab-completion of type arguments in \df, \do.55
2021-04-0801add89454dSuppress uninitialized-variable warning.11
2021-04-07a3027e1e7f3Allow psql's \df and \do commands to specify argument types.Authors: Greg Sabino Mullane, Tom Lane74
2021-04-073db826bd55cTighten up allowed names for custom GUC parameters.125125
2021-04-06789d81de8a5Fix missing #include in nodeResultCache.h.11
2021-04-06091e22b2e67Clean up treatment of missing default and CHECK-constraint records.141141
2021-04-0509c1c6ab4bcSupport INCLUDE'd columns in SP-GiST.Authors: Pavel Borisov, Tom Lane125
2021-04-04dfc843d4656Fix more confusion in SP-GiST.1717
2021-04-04ac9099fc1ddFix confusion in SP-GiST between attribute type and leaf storage type.937937
2021-04-0253aafdb9ff6Strip file names reported in error messages on Windows, too.44
2021-04-011ebdec8c032Rethink handling of pass-by-value leaf datums in SP-GiST.Authors: Pavel Borisov, Tom Lane31
2021-04-01ec03f2df17aFix pg_restore's misdesigned code for detecting archive file format.2727
2021-03-319e20406dd84Fix unportable use of isprint().44
2021-03-31f1be740a991Fix portability and safety issues in pqTraceFormatTimestamp.33
2021-03-318998e3cafa2Silence compiler warning in non-assert builds.11
2021-03-31c545e9524dcDon't prematurely cram a value into a short int.11
2021-03-31522d1a89f8dSuppress compiler warning in libpq_pipeline.c.11
2021-03-3186dc90056dfRework planning and execution of UPDATE and DELETE.Authors: Amit Langote, Tom Lane698
2021-03-3166392d39650Add p_names field to ParseNamespaceItem2828
2021-03-3065158f497a7Remove small inefficiency in ExecARDeleteTriggers/ExecARUpdateTriggers.66
2021-03-3054bb91c30e3Further tweaking of pg_dump's handling of default_toast_compression.1616
2021-03-23ea801385450Fix psql's \connect command some more.1919
2021-03-239d523119fd3Avoid possible crash while finishing up a heap rewrite.Authors: Amul Sul, Tom Lane3
2021-03-22063dd37ebc7Short-circuit slice requests that are for more than the object's size.1313
2021-03-22aeb1631ed20Mostly-cosmetic adjustments of TOAST-related macros.8686
2021-03-222c75f8a612bRemove useless configure probe for <lz4/lz4.h>.11
2021-03-21ac897c48348Fix assorted silliness in ATExecSetCompression().1212
2021-03-214d399a6fbebBring configure support for LZ4 up to snuff.9191
2021-03-219fb9691a88aSuppress various new compiler warnings.1010
2021-03-20aa25d1089acFix up pg_dump's handling of per-attribute compression options.Authors: Justin Pryzby, Tom Lane44
2021-03-20e835e89a0fdFix memory leak when rejecting bogus DH parameters.33
2021-03-19f0c2a5bba6cAvoid leaking memory in RestoreGUCState(), and improve comments.140140
2021-03-1827ab1981e7cBlindly try to fix test script's tar invocation for MSYS.33
2021-03-189bacdf9f536Don't leak malloc'd error string in libpqrcv_check_conninfo().77
2021-03-18377b7a83007Don't leak malloc'd strings when a GUC setting is rejected.2929
2021-03-18d303849b059Don't leak compiled regex(es) when an ispell cache entry is dropped.4141
2021-03-18415ffdc2205Don't run RelationInitTableAccessMethod in a long-lived context.77
2021-03-1828644fac107Don't leak rd_statlist when a relcache entry is dropped.11
2021-03-181d581ce7129Fix misuse of foreach_delete_current().22
2021-03-1770945649d73Doc: remove duplicated step in RLS example.00
2021-03-178620a7f6dbdCode review for server's handling of "tablespace map" files.8181
2021-03-17a50e4fd028aPrevent buffer overrun in read_tablespace_map().77
2021-03-17081876d75eaAdd end-to-end testing of pg_basebackup's tar-format output.7676
2021-03-17c783e656d41Doc: improve discussion of variable substitution in PL/pgSQL.Authors: David G. Johnston, Tom Lane37
2021-03-164b12ab18c9dAvoid corner-case memory leak in SSL parameter processing.2626
2021-03-161ea396362beImprove logging of bad parameter values in BIND messages.Authors: Justin Pryzby, Tom Lane35
2021-03-1358f57490facDoc: add note about how to run the pg_amcheck regression tests.1919
2021-03-12f52c5d6749aForbid marking an identity column as nullable.Authors: Vik Fearing, Tom Lane6
2021-03-1151c54bb6030Re-simplify management of inStart in pqParseInput3's subroutines.2323
2021-03-10227338b00d4Doc: improve introductory information about procedures.5959
2021-03-103ebc6d29570Doc: fix missing mention of procedure OUT parameters.22
2021-03-08d4545dc19b8Complain if a function-in-FROM returns a set when it shouldn't.1111
2021-03-08fed10d4eec7Properly mark pg_stat_get_subscription() as returning a set.44
2021-03-085c06abb9b97Validate the OID argument of pg_import_system_collations().55
2021-03-086c20bdb2a27Further tweak memory management for regex DFAs.1010
2021-03-050ce4cd04da5Doc: remove obsolete entries in table of BRIN strategy numbers.22
2021-03-033769e11a318Make test_target_session_attrs more robust against connection failure.1414
2021-03-02d422a2a94b1Silence perlcritic warning in commit ee28cacf6.22
2021-03-02ee28cacf619Extend the abilities of libpq's target_session_attrs parameter.Authors: Haribabu Kommi, Greg Nancarrow, vignesh C, Tom Lane43
2021-03-024604f83fdfeSuppress unnecessary regex subre nodes in a couple more cases.3939
2021-03-020c3405cf11aImprove performance of regular expression back-references.138138
2021-03-024aea704a5bfFix semantics of regular expression back-references.107107
2021-02-264e90052c46cDoc: further clarify libpq's description of connection string URIs.2626
2021-02-260fc1af174cfImprove memory management in regex compiler.173173
2021-02-2580ca8464fe0Fix list-manipulation bug in WITH RECURSIVE processing.Authors: Michael Paquier, Tom Lane36
2021-02-25301ed8812e3Doc: remove src/backend/regex/re_syntax.n.00
2021-02-257dc13a0f080Change regex \D and \W shorthands to always match newlines.3636
2021-02-252a0af7fe460Allow complemented character class escapes within regex brackets.668668
2021-02-233db05e76f92Suppress compiler warning in new regex match-all detection code.66
2021-02-21190c79884aaSimplify memory management for regex DFAs a little.1313
2021-02-216ee479abfc2Fix invalid array access in trgm_regexp.c.88
2021-02-20ea1268f6301Avoid generating extra subre tree nodes for capturing parentheses.8787
2021-02-2058104308947Convert regex engine's subre tree from binary to N-ary style.185185
2021-02-20cebc1d34e52Fix regex engine to suppress useless concatenation sub-REs.7676
2021-02-20824bf71902dRecognize "match-all" NFAs within the regex engine.376376
2021-02-2008c0d6ad65fInvent "rainbow" arcs within the regex engine.174174
2021-02-18b5a66e7353bFix another ancient bug in parsing of BRE-mode regular expressions.1111
2021-02-174e703d67193Make some minor improvements in the regex code.9999
2021-02-1638bb3aef354Convert tsginidx.c's GIN indexing logic to fully ternary operation.4040
2021-02-150e529031285Simplify loop logic in nodeIncrementalSort.c.Authors: James Coleman, Tom Lane10
2021-02-142dd6733108fMinor fixes to improve regex debugging code.1515
2021-02-12ad2ad698ac1Tweak compiler version cutoff for no_sanitize("alignment") support.11
2021-02-12ae4867ec749Avoid divide-by-zero in regex_selectivity() with long fixed prefix.1111
2021-02-12993bdb9f935pg_attribute_no_sanitize_alignment() macroAuthors: Alexander Korotkov, Tom Lane2
2021-02-1162535cae972Remove dead code in ECPGconnect(), and improve documentation.Authors: Kyotaro Horiguchi, Tom Lane10
2021-02-1169036aafb9aSimplify jsonfuncs.c code by using strtoint() not strtol().1515
2021-02-11d4c746516b8Remove no-longer-used RTE argument of markVarForSelectPriv().88
2021-02-08c028faf2a62Fix mishandling of column-level SELECT privileges for join aliases.9191
2021-02-07d1d29798525Revert "Propagate CTE property flags when copying a CTE list into a rule."00
2021-02-06ed290896335Propagate CTE property flags when copying a CTE list into a rule.Authors: Greg Nancarrow, Tom LaneReverted by d1d29798525 on 2021-02-07; 0 of 49 lines credited0
2021-02-06dd705a039f6Disallow converting an inheritance child table to a view.5252
2021-02-040ff865fbe50Fix bug in HashAgg's selective-column-spilling logic.77
2021-02-039624321ec50Avoid crash when rolling back within a prepared statement.Authors: Thomas Munro, Tom Lane6
2021-02-03ba0faf81c65Remove special BKI_LOOKUP magic for namespace and role OIDs.4646
2021-02-02ef3d4613c02Retire findoidjoins.00
2021-02-0262f34097c88Build in some knowledge about foreign-key relationships in the catalogs.898898
2021-02-02479331406e8Doc: consistently identify OID catalog columns that can be zero.Authors: Joel Jacobson, Tom Lane23
2021-02-019522085ac91Doc: work a little harder on the initial examples for regex matching.1212
2021-02-01f003a7522bfRemove [Merge]AppendPath.partitioned_rels.3131
2021-02-015076f88bc98Remove incidental dependencies on partitioned_rels lists.1010
2021-02-01fb2d645dd53Revise make_partition_pruneinfo to not use its partitioned_rels input.146146
2021-02-017c5d57caed4Fix portability issue in new jsonbsubs code.77
2021-01-29f743a2bbd4eDoc: improve cross-references for SET/SHOW.1515
2021-01-29b41645460afDocument behavior of the .** jsonpath accessor in the lax modeAuthors: Alexander Korotkov, Tom Lane3
2021-01-281046dbedde2Silence another gcc 11 warning.22
2021-01-281d9351a87c9Fix hash partition pruning with asymmetric partition sets.124124
2021-01-281b242f42ba1Make ecpg's rjulmdy() and rmdyjul() agree with their declarations.22
2021-01-27662affcfe9eDoc: improve documentation for UNNEST().2727
2021-01-26d5a83d79c9fRethink recently-added SPI interfaces.277277
2021-01-267292fd8f1c7Suppress compiler warnings from commit ee895a655.55
2021-01-26f76a85000bbCode review for psql's helpSQL() function.Authors: Kyotaro Horiguchi, Tom Lane12
2021-01-25ee895a655ceImprove performance of repeated CALLs within plpgsql procedures.Authors: Pavel Stehule, Tom Lane80
2021-01-25881933f1942Don't clobber the calling user's credentials cache in Kerberos test.33
2021-01-2507d46fceb42Fix broken ruleutils support for function TRANSFORM clauses.6666
2021-01-25951862eda57Doc: improve documentation of pg_proc.protrftypes.Authors: Joel Jacobson, Tom Lane1
2021-01-24a4b03de589cMake storage/standby.h compile standalone again.11
2021-01-24c7edf4ac246Update time zone data files to tzdata release 2021a.133133
2021-01-240c1e8845f28Add a simple test for contrib/auto_explain.5858
2021-01-237e57255f618Doc: clean up contrib/pageinspect's GIST function documentation.1717
2021-01-23183bbd1b6d4Doc: update example connection-failure messages in the documentation.1818
2021-01-2368d1c339417Update ecpg's connect-test1 for connection-failure message changes.1010
2021-01-223fc81ce459eSuppress bison warning in ecpg grammar.11
2021-01-2250bebc1ae18Doc: improve directions for building on macOS.2525
2021-01-2258cd8dca3deAvoid redundantly prefixing PQerrorMessage for a connection failure.3131
2021-01-227cd9765f9bdRe-allow DISTINCT in pl/pgsql expressions.6868
2021-01-22ab66645628dDoc: remove misleading claim in documentation of PQreset().33
2021-01-2127a48e5a16fImprove new wording of libpq's connection failure messages.2323
2021-01-2155dc86eca70Fix pull_varnos' miscomputation of relids set for a PlaceHolderVar.261261
2021-01-209d23c15a034Further tweaking of PG_SYSROOT heuristics for macOS.1313
2021-01-20c2dc1a79767Disable vacuum page skipping in selected test cases.1515
2021-01-19a0efda88a67Remove faulty support for MergeAppend plan with WHERE CURRENT OF.2727
2021-01-1860661bbf2dcAvoid crash with WHERE CURRENT OF and a custom scan plan.Authors: David Geier, Tom Lane1
2021-01-170c7d3bb99f7Add missing array-enlargement logic to test_regex.c.1414
2021-01-154823621db31Improve our heuristic for selecting PG_SYSROOT on macOS.1818
2021-01-148e396a773b8pg_dump: label PUBLICATION TABLE ArchiveEntries with an owner.7777
2021-01-138b411b8ff41Run reformat-dat-files to declutter the catalog data files.223223
2021-01-1306ed235adebDoc: clarify behavior of back-half options in pg_dump.1010
2021-01-129eabfe300a2pg_dump: label INDEX ATTACH ArchiveEntries with an owner.1515
2021-01-12cc865c0f319Doc: fix description of privileges needed for ALTER PUBLICATION.22
2021-01-11d5ab79d8157Make pg_dump's table of object-type priorities more maintainable.9393
2021-01-114edf96846a0Rethink SQLSTATE code for ERRCODE_IDLE_SESSION_TIMEOUT.11
2021-01-1152a10224e3cUniformly identify the target host in libpq connection failure reports.6262
2021-01-11800d93f314bAllow pg_regress.c wrappers to postprocess test result files.134134
2021-01-11ffa2e467012In libpq, always append new error messages to conn->errorMessage.497497
2021-01-0839d4a153105Fix plpgsql tests for debug_invalidate_system_caches_always.3636
2021-01-08afcc8772edcFix ancient bug in parsing of BRE-mode regular expressions.1111
2021-01-079ffe2278372Adjust createdb TAP tests to work on recent OpenBSD.1111
2021-01-07b8d0cda5337Further second thoughts about idle_session_timeout patch.1616
2021-01-06f7a1a805cb1Fix bogus link in test comments.22
2021-01-069486e7b666fImprove commentary in timeout.c.88
2021-01-069877374bef7Add idle_session_timeout.Authors: Japin Li, Tom Lane22
2021-01-0609cf1d52267Improve timeout.c's handling of repeated timeout set/cancel.9595
2021-01-06ca8217c1013Add a test module for the regular expression package.7,2647,264
2021-01-0514d49f483d4Revert unstable test cases from commit 7d80441d2.00
2021-01-05bf8a662c9afIntroduce a new GUC_REPORT setting "in_hot_standby".Authors: Haribabu Kommi, Greg Nancarrow, Tom Lane15
2021-01-044bd3fad80e5Fix integer-overflow corner cases in substring() functions.191191
2021-01-041c1cbe279b3Rethink the "read/write parameter" mechanism in pl/pgsql.9595
2021-01-041788828d335Remove PLPGSQL_DTYPE_ARRAYELEM datum type within pl/pgsql.2626
2021-01-04c9d5298485bRe-implement pl/pgsql's expression and assignment parsing.1,0741,074
2021-01-04844fe9f159aAdd the ability for the core grammar to have more than one parse target.265265
2021-01-014d3f03f4222Doc: improve explanation of EXTRACT(EPOCH) for timestamp without tz.1616
Total60,55162,528

Dates are as the committer gave them. For how these are counted, see the README.