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

Projects › PostgreSQL Code Contributions › Contributor Profiles › Heikki Linnakangas

Author Credits, 2024: Heikki Linnakangas

Heikki Linnakangas is credited as an author of 160 commits from 2024, and listed first in 150. 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
2024-12-2507f902bd760meson: Export all libcommon functions in Windows builds11
2024-12-231585ff7387dDon't allow GetTransactionSnapshot() in logical decoding44
2024-12-23952365cded6Remove unnecessary GetTransactionSnapshot() calls33
2024-12-21578a7fe7b6fUpdate TransactionXmin when MyProc->xmin is updated22
2024-12-201f81b48a9d5Mark CatalogSnapshotData static11
2024-12-20d5a7bd5670cFix variable reference in comment33
2024-12-161dfeb6af7f8Make 009_twophase.pl test pass with recovery_min_apply_delay set11
2024-12-094d8275046c3Remove remants of "snapshot too old"2929
2024-11-145b007868577Pass MyPMChildSlot as an explicit argument to child process3333
2024-11-14a78af042701Assign a child slot to every postmaster child process770770
2024-11-14bb861414feaKill dead-end children when there's nothing else left116116
2024-11-1418d67a8d7d3Replace postmaster.c's own backend type codes with BackendType166166
2024-11-05e54688030cfSilence meson warning about PG_TEST_EXTRA in src/Makefile.global.in11
2024-11-043c0fd64fec8Split ProcSleep function into JoinWaitQueue and ProcSleep151151
2024-11-046ae0897e424Move TRACE calls into WaitOnLock()1414
2024-11-040464f25b6aaSet MyProc->heldLocks in ProcSleep77
2024-11-041fe0466cf2cFix comment in LockReleaseAll() on when locallock->nLock can be zero22
2024-11-01368d8270c83Rename two functions that wake up other processes88
2024-11-01a9c546a5a37Use ProcNumbers instead of direct Latch pointers to address other procs7272
2024-10-31b82c877e76eFix refreshing physical relfilenumber on shared index55
2024-10-312b9b8ebbf8aSplit RelationClearRelation into three different functions116116
2024-10-318e2e2662214Simplify call to rebuild relcache entry for indexes1616
2024-10-2822bb889f708Restore missing line to copyright notice11
2024-10-213c7d78427eaUpdate outdated comment on WAL-logged locks with invalid XID33
2024-10-211a43de5e0a5Fix race condition in committing a serializable transaction99
2024-10-0805d1b9b5c28Fix typo and run pgperltidy on newly-added test22
2024-10-082bbc261ddbdUse an shmem_exit callback to remove backend from PMChildFlags on exit2727
2024-10-0885ec945b788Add test for dead-end backends119119
2024-10-086a1d0d470e8Add test for connection limits143143
2024-10-05f9ecb57a506Clean up WaitLatch calls that passed latch without WL_LATCH_SET44
2024-10-05094ae071605Remove unneeded #include00
2024-10-056c0c49f7d37Remove unused latch00
2024-08-29478846e7688Rename some shared memory initialization routines3333
2024-08-29fbce7dfc77eRefactor lock manager initialization to make it a bit less special2525
2024-08-1956d23855c86Fix garbled process name on backend crash11
2024-08-16077ad4bd76bRelax fsyncing at end of a bulk load that was not WAL-logged6060
2024-08-128de5ca1dc9fFix bad indentation introduced in commit f011e82c2c00
2024-08-123354f85284dConsolidate postmaster code to launch background processes122122
2024-08-11f011e82c2c8Initialize HASHCTL differently, to suppress Coverity warning55
2024-08-10a79ed10e6c6Fix comment on processes being kept over a restart33
2024-08-1028a520c0b77Refactor code to handle death of a backend or bgworker in postmaster134134
2024-08-09b43100fa71dMake BackgroundWorkerList doubly-linked5454
2024-08-0849dc191bd1aFix pg_rewind debug output to print the source timeline history22
2024-08-072676040df0bMake fallback MD5 implementation thread-safe on big-endian systems11
2024-08-063ab2668d484Use psprintf to simplify gtsvectorout()44
2024-08-06d5f139cb681Constify fields and parameters in spell.c3434
2024-08-06fe8dd65bf28Mark misc static global variables as const55
2024-08-0685829c973cbMake nullSemAction const, add 'const' decorators to related functions1919
2024-08-061e35951e71dTurn a few 'validnsps' static variables into locals66
2024-08-06a54d4ed1839Fix datatypes in comments in instr_time.h22
2024-08-0639a138fbef8Revert "Fix comments in instr_time.h and remove an unneeded cast to int64"A revert, so no lines credited00
2024-08-0163bef4df975Minor refactoring of assign_backendlist_entry()1212
2024-08-01ef4c35b4166Fix outdated comment; all running bgworkers are in BackendList44
2024-07-30f822be39629Refactor getWeights to write to caller-supplied buffer3131
2024-07-3001e51ed7807Replace static buf with a stack-allocated one in 'seg' extension44
2024-07-30da8a587e2e2Replace static buf with a stack-allocated one in ReadControlFile11
2024-07-306151cb78761Replace static buf with palloc in str_time()22
2024-07-305bf948d564eReplace static bufs with a StringInfo in cash_words()4141
2024-07-3047c98035c6fRemove leftover function declaration00
2024-07-29679f940740fRemove dead generators for cyrillic encoding conversion tables00
2024-07-290393f542d72Fix double-release of spinlock33
2024-07-298bda213ec16Fix compiler warning/error about typedef redefinitions22
2024-07-299d9b9d46f3cMove cancel key generation to after forking the backend186186
2024-07-26ef7fa900fb5Add tests for errors during SSL or GSSAPI handshake2626
2024-07-2620e0e7da9bcAdd test for early backend startup errors118118
2024-07-26b9e5249c293Fix using injection points at backend startup in EXEC_BACKEND mode1717
2024-07-26c95d2159c1dFix fallback behavior when server sends an ERROR early at startup1717
2024-07-18a0a5869a859Add INJECTION_POINT_CACHED() to run injection points directly from cacheAuthors: Heikki Linnakangas, Michael Paquier6946
2024-07-1591651347baeUse correct type for pq_mq_parallel_leader_proc_number variable11
2024-07-1586db52a5062Use atomics to avoid locking in InjectionPointRun()276276
2024-07-095a1e6df3b84Show Parallel Bitmap Heap Scan worker stats in EXPLAIN ANALYZEAuthors: David Geier, Heikki Linnakangas, Donghang Lin, Alena Rybakina, David Rowley48
2024-07-08cc68ca6d420Fix outdated comment after removal of direct SSL fallback22
2024-07-0598347b5a3abLift limitation that PGPROC->links must be the first field11
2024-07-03f3412a61f3fAvoid 0-length memcpy to NULL with EXEC_BACKEND11
2024-06-27cbfbda78413Fix MVCC bug with prepared xact with subxacts on standby8585
2024-06-27ecbf6ac51dftests: Trim newline from result returned by BackgroundPsql->query11
2024-06-26b1ffe3ff0b7Fix bugs in MultiXact truncation1313
2024-06-21441ef5e1badFix relcache invalidation when relfilelocator is updated33
2024-06-13c425113eebbClamp result of MultiXactMemberFreezeThreshold88
2024-06-06e6cd8577264Make RelationFlushRelation() work without ResourceOwner during abort119119
2024-05-16fb5718f35ffRemove option to fall back from direct to postgres SSL negotiation179179
2024-05-11407e0b023cdChange ALPN protocol ID to IANA-approved "postgresql"44
2024-04-305bcbe9813bfFix compilation on OpenSSL 1.0.2 and LibreSSL99
2024-04-2917a834a04d5Reject SSL connection if ALPN is used but there's no common protocol1919
2024-04-2903a0e0d4bb7libpq: Enforce ALPN in direct SSL connections2828
2024-04-2987d2801d4b2libpq: Fix error messages when server rejects SSL or GSS3535
2024-04-293c184092651libpq: If ALPN is not used, make PQsslAttribute(conn, "alpn") == ""22
2024-04-285c9f35fc48eFix documentation and comments on what happens after GSS rejection1515
2024-04-18950d4a2cb1dFix typos and duplicate wordsAuthors: Daniel Gustafsson, Heikki Linnakangas, Alexander Lakhin, David Rowley, Nazir Bilal Yavuz25
2024-04-14d21d61b96f7Put back initialization of 'sslmode', to silence Coverity66
2024-04-124cc1c76fe9fDocument PG_TEST_EXTRA=libpq_encryption and also check 'kerberos'2323
2024-04-1265dfe9d167eMove libpq encryption negotiation tests88
2024-04-12084cae55131Fix compilation with --with-gssapi --without-openssl22
2024-04-120a5f2291891Fix libpq_encryption tests when compiled without SSL support6868
2024-04-11efb8acc0d05Replace binaryheap + index with pairingheap in reorderbuffer.c3030
2024-04-083e60e956b00Fix check for 'outlen' return from SSL_select_next_proto()11
2024-04-08d60ab76f630Silence perlcritic warnings in new libpq tests33
2024-04-0891044ae4baeSend ALPN in TLS handshake, require it in direct SSL connectionsAuthors: Greg Stark, Heikki Linnakangas52
2024-04-08d39a49c1e45Support TLS handshake directly without SSLRequest negotiationAuthors: Greg Stark, Heikki Linnakangas201
2024-04-0805fd30c0e73Refactor libpq state machine for negotiating encryptionAuthors: Heikki Linnakangas, Matthias van de Meent264176
2024-04-08705843d294dEnhance libpq encryption negotiation tests with new GUC255255
2024-04-0820f9b61cc19With gssencmode='require', check credential cache before connecting3030
2024-04-081169920ff77Add tests for libpq gssencmode and sslmode optionsAuthors: Heikki Linnakangas, Matthias van de Meent624416
2024-04-089f899562d42Move Kerberos module245245
2024-04-07a475a2fa3bcDon't clobber test exit code at cleanup in LDAP/Kerberors tests1010
2024-04-07e13b586d7c9Improve check in LDAP test to find the OpenLDAP installation4949
2024-04-03b5a9b18cd0bProvide API for streaming relation data.Authors: Thomas Munro, Heikki Linnakangas, Melanie Plageman299
2024-04-023d0f730bf19Introduce 'options' argument to heap_page_prune()Authors: Melanie Plageman, Heikki Linnakangas5
2024-04-016f47f688315Handle non-chain tuples outside of heap_prune_chain()Authors: Melanie Plageman, Heikki Linnakangas62
2024-04-019917e79d995Minor refactoring in heap_page_prune1212
2024-03-28427005742bdRemove obsolete comment about VACUUM retrying pruning22
2024-03-253a4837fc809Avoid edge case in pg_visibility test with small shared_buffers11
2024-03-20d63d486d6c3Remove assertions that some compiler say are tautological33
2024-03-1805c3980e7f4Move code for backend startup to separate fileMechanical: mostly code moved; 77 of 829 lines credited7777
2024-03-18aafc05de1bfRefactor postmaster child process launching572572
2024-03-18f1baed18bc3Move some functions from postmaster.c to a new source fileMechanical: mostly code moved; 99 of 828 lines credited9999
2024-03-1814cddee9cceSplit registration of Win32 deadchild callback to separate function3030
2024-03-15d802ff06d02Fix backstop in gin test if injection point is not reached66
2024-03-1585f65d7a26fTry to unbreak injection-fault tests in the buildfarm2424
2024-03-15a3f349c6129Improve log messages referring to background worker processes22
2024-03-15e2e3b8ae9edDisable tests using injection points in installcheck1010
2024-03-1484c18acaf69Remove redundant snapshot copying from parallel leader to workers1515
2024-03-12cb9663e20dcFix copying SockAddr struct22
2024-03-124945e4ed4a7Move initialization of the Port struct to the child process141141
2024-03-12d162c3a73bfPass CAC as an argument to the backend process3232
2024-03-1273f7fb2a4c4Set socket options in child process after forking9696
2024-03-12f8c5317d001Disconnect if socket cannot be put into non-blocking mode11
2024-03-114e76f984a77Confine vacuum skip logic to lazy_scan_skip()Authors: Melanie Plageman, Heikki Linnakangas50
2024-03-11674e49c73c1Set all_visible_according_to_vm correctly with DISABLE_PAGE_SKIPPING00
2024-03-11af0e7deb4a1Don't destroy SMgrRelations at relcache invalidation33
2024-03-084c1973fcaecAvoid recursion in MemoryContext functions168168
2024-03-086f38c43eb13Avoid stack overflow in ShowTransactionStateRec()1515
2024-03-08fefd9a3fed2Turn tail recursion into iteration in CommitTransactionCommand()Authors: Alexander Korotkov, Heikki Linnakangas35
2024-03-05ef4cfdce0efFix references to renamed function in comments44
2024-03-0555cdba2647eFix a leftover reference to backend_id in comment22
2024-03-0424eebc65c26Remove unused 'countincludesself' argument to pq_sendcountedtext()1414
2024-03-040dd094c4a0aRemove unused ParallelWorkerInfo.pid field00
2024-03-04393b5599e51Use MyBackendType in more places to check what process this is4242
2024-03-04067701f5775Remove MyAuxProcType, use MyBackendType instead7575
2024-03-03024c5211175Replace BackendIds with 0-based ProcNumbers564564
2024-03-03ab355e3a88dRedefine backend ID to be an index into the proc array279279
2024-02-281c1eec0f2d8Remove configure --with-CC option00
2024-02-28802d886054fRun autoconf, for update of a comment.11
2024-02-280b16bb8776bRemove AIX support114114
2024-02-23d360e3cc60eFix compiler warning on typedef redeclaration33
2024-02-238af25652489Introduce a new smgr bulk loading facility.552552
2024-02-2228f3915b73fRemove superfluous 'pgprocno' field from PGPROC4646
2024-02-13fbf9a7ac4d3Fix 'mmap' DSM implementation with allocations larger than 4 GB11
2024-02-05b96115acb8aFix assertion if index is dropped during REFRESH CONCURRENTLY3838
2024-02-055a9167c3971Run REFRESH MATERIALIZED VIEW CONCURRENTLY in right security context2626
2024-02-0318dd9d2ed97Fix typo in comments44
2024-02-02d212957254dFix bug in bulk extending temp relation after failure1111
2024-01-3121d9c3ee4efGive SMgrRelation pointers a well-defined lifetime.Authors: Thomas Munro, Heikki Linnakangas60
2024-01-296a1ea02c491Fix locking when fixing an incomplete split of a GIN internal page418418
2024-01-26376c216138cUpdate comment, generation mem contexts have a "keeper" block44
2024-01-2321ef4d4d897Revert "libpqwalreceiver: Convert to libpq-be-fe-helpers.h"A revert, so no lines credited00
2024-01-23183b6f73b04ci: Enable injection points in builds99
2024-01-220eb23285a25Fix two memcpy() bugs in the new injection point code44
2024-01-172b53a462cffFix incorrect comment on how BackendStatusArray is indexed33
2024-01-16c6b86eaa55fAdd missing PGDLLIMPORT markings44
Total8,8209,338

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