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

Projects › PostgreSQL Code Contributions › Contributor Profiles › Andres Freund

Author Credits, 2022: Andres Freund

Andres Freund is credited as an author of 222 commits from 2022, and listed first in 205. 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
2022-12-29388e80132c0perl: Hide warnings inside perl.h when using gcc compatible compiler3737
2022-12-22439f61757f0Add palloc_aligned() to allow aligned memory allocationsAuthors: Andres Freund, David Rowley306204
2022-12-20d21ded75fdbImprove the performance of the slab memory allocatorAuthors: Andres Freund, David Rowley515344
2022-12-16ac998020802Speed up creation of command completion tagsAuthors: David Rowley, Andres Freund26
2022-12-09fc7852c6cb8meson: Improve PG_VERSION_STR generationAuthors: Juan José Santamaría Flecha, Andres Freund3
2022-12-07d3b111e3205Add option to specify segment size in blocks120120
2022-12-073f0e786ccbfmeson: Add 'running' test setup, as a replacement for installcheck132132
2022-12-065bdd0cfb910meson: Add basic PGXS compatibility311311
2022-12-069db49fc5bfdautoconf: Move export_dynamic determination to configure108108
2022-12-02cb2e7ddfe57Prevent pgstats from getting confused when relkind of a relation changes77
2022-12-01069de07eae7autoconf: Don't AC_SUBST() LD in configure77
2022-12-01e0f0e08e17aautoconf: Unify CFLAGS_SSE42 and CFLAGS_ARMV8_CRC32C2828
2022-11-298242752f9c1Improve heuristics for compressing the KnownAssignedXids array.Authors: Simon Riggs, Mihail Nikalayeu, Tom Lane, Andres Freund6
2022-11-28f0cd57f852cmeson: Fix binary mismatch for MSVC plperl vs gcc built perl libs66
2022-11-2192daeca45dfAdd wait event for pg_usleep() in perform_spin_delay()1919
2022-11-21bd82928625eci: Use -fsanitize=undefined,alignment,address in linux tasks2626
2022-11-2194a3e026cc4ci: Introduce SanityCheck task that other tasks depend on8484
2022-11-21f686ae82f2dAdd workaround to make ubsan and ps_status.c compatible3030
2022-11-20a4adc31f690lwlock: Fix quadratic behavior with very long wait lists4242
2022-11-198c954168cffFix mislabeling of PROC_QUEUE->links as PGPROC, fixing UBSan on 32bit1414
2022-10-19c2ae01f695bTrack LLVM 15 changes.Authors: Thomas Munro, Andres Freund37
2022-10-159a95a510adfmeson: macos: Use -Wl,-undefined,error for modules44
2022-10-1557bab33302dmeson: catch up to a few configure changesAuthors: Junwang Zhao, Andres Freund2
2022-10-0806dbd619bfbpgstat: Prevent stats reset from corrupting slotname by removing slotname6060
2022-10-072473cb9ff37autoconf: Rely on ar supporting index creation22
2022-10-070fe954c2858Add -Wshadow=compatible-local to the standard compilation flags9494
2022-10-06e5555657ba8meson: Add support for building with precompiled headers4444
2022-10-064289263cf26windows: Adjust FD_SETSIZE via commandline define3131
2022-10-05c3315a7da57tests: Restrict pg_locks queries in advisory_locks.sql to current database3333
2022-10-056a20b04f040tests: Rename conflicting role names6666
2022-10-05902ab2fcef3meson: Add windows resource filesAuthors: Andres Freund, Nazir Bilal Yavuz1,276851
2022-10-05a1261cd16f0meson: ecpg: Split definition of static and shared libraries7878
2022-10-05089c0bc7a76meson: libpq: Revise static / shared library setup3636
2022-10-0529668e31865meson: docs: Add xml{lint,proc} wrapper to collect dependenciesAuthors: Nazir Bilal Yavuz, Andres Freund28
2022-10-03908e17151b4meson: llvm: Use llvm-config's --cxxflags when building llvmjit11
2022-10-030ae5db28d06meson: respect -Dldap=disabled44
2022-10-012d2f0831049ci: macos: Reduce test concurrency44
2022-10-01d0366bfb3b2meson: windows: Determine path to tmp_install + prefix using meson1515
2022-09-3024ef127b6d1meson: mingw: Add -Wl,--disable-auto-import, enable when linking with readline99
2022-09-300e497eadb1fmingw: Define PGDLLEXPORT as __declspec (dllexport) as done for msvc66
2022-09-29ccf36ea2580ci: Add 32bit build and test3737
2022-09-28b8d8a4593a3windows: Set UMDF_USING_NTSTATUS globally, include ntstatus.h99
2022-09-28a1b3bca1c8emeson: Implement getopt logic from autoconf1111
2022-09-28caeeabd1106meson: mingw: Allow multiple definitions22
2022-09-28dfefa0e4643meson: pg_regress: Define a HOST_TUPLE sufficient to make resultmap work1010
2022-09-28e3a892539b2meson: windows: Normalize slashes in prefix33
2022-09-26a1860071b3fmeson: Set up absolute rpaths to libdir1515
2022-09-261330dcdec0fmeson: Include CFLAGS/c_args in summary and pg_config output1111
2022-09-2631d2c4716e6windows: remove date from version number in win32ver.rc00
2022-09-2403bf971d2dcRemove uses of register due to incompatibility with C++17 and up1010
2022-09-24eef63941c12De-special-case pgevent's rc file handling33
2022-09-24a075c616d22meson: Remove non-binary targets accidentally added to bin_targets00
2022-09-22e3e6ee69641ci: freebsd: Set extra_{lib,include}_dirs to /usr/local/...11
2022-09-21e6b6ea025ccmeson: ci: Convert some tasks to use mesonAuthors: Andres Freund, Nazir Bilal Yavuz, Justin Pryzby11759
2022-09-21e6927270cd1meson: Add initial version of meson based build systemAuthors: Andres Freund, Nazir Bilal Yavuz, Peter Eisentraut10,9625,481
2022-09-21661ee7bfc66ci: windows: set error mode to not include SEM_NOGPFAULTERRORBOX99
2022-09-203f0c901e744Use \b in one more PG_TEST_EXTRA check, oversight in c3382a3c3cc11
2022-09-20c3382a3c3ccRefactor PG_TEST_EXTRA logic in autoconf buildAuthors: Nazir Bilal Yavuz, Andres Freund8
2022-09-19c47885bd8b6Split TESTDIR into TESTLOGDIR and TESTDATADIR2020
2022-09-19bb54bf22900Don't hardcode tmp_check/ as test directory for tap tests2222
2022-09-1970df2df1cc8Extend gendef.pl in preparation for meson4949
2022-09-1743fcaa345d5Include c.h instead of postgres.h in src/port/*p{read,write}*.c44
2022-09-178d513a6b71bRemove DLLTOOL, DLLWRAP from configure / Makefile.global.in00
2022-09-1632914d900f9Fix race condition in stats.sql added in 5264add784777
2022-09-16d08a049db9baix: xlc: Use -Wl,-b,expfull for old compiler versions1010
2022-09-09be7c15b194aconfigure: Expand -fvisibility checks to more compilers, test for -qvisibility280280
2022-09-09fe6a64a58abaix: No need to use mkldexport when we want to export all symbols2020
2022-09-0105519126a02Move darwin sysroot determination into separate file4444
2022-09-01e5484554ba9aix: when building with gcc, tell gcc we're building a shared library1111
2022-08-31483ac647619Fix MSVC warning in compat_informix/rnull.pgc22
2022-08-29c6e0fe1f2a0Improve performance of and reduce overheads of memory managementAuthors: Andres Freund, David Rowley1,048699
2022-08-244444317f370aix: Fix SHLIB_EXPORTS reference in VPATH builds11
2022-08-2405bf551040bRemove SUBSYS.o rule in common.mk, hasn't been used in a long time00
2022-08-2468fc18d14c7Remove rule to generate postgres.o, not needed for 20+ years00
2022-08-243fb0687d328solaris: Use versioning scripts instead of -Bsymbolic66
2022-08-221d77afefbd1Don't define FRONTEND for libpq11
2022-08-229352d5cf128Don't define FRONTEND for ecpg libraries33
2022-08-2206e3559badeDon't define FRONTEND for initdb99
2022-08-20c855872074bregress: allow to specify directory containing expected files, for ecpgAuthors: Nazir Bilal Yavuz, Andres Freund7
2022-08-184ab53b647abDon't add HAVE_LDAP_H HAVE_WINLDAP_H to pg_config.h22
2022-08-077e29a79a46daix: fix misreading of condition in 8f12a4e7add11
2022-08-07a2a36d56b96Trust a few system headers to stand on their own44
2022-08-0720c105c4db5solaris: Remove unnecessary gcc / gnu ld vs sun studio differences11
2022-08-078f12a4e7addaix: Remove checks for very old OS versions00
2022-08-079ddb870bd47windows: Remove HAVE_MINIDUMP_TYPE test22
2022-08-07320f92b744bRely on __func__ being supported55
2022-08-06922a8fa0984Simplify gettimeofday() fallback logic.99
2022-08-06feb593506b9Remove fallbacks for strtoll, strtoull.11
2022-07-312827f108d13ci: remove minor version from freebsd image name11
2022-07-31e1c95e50e99ci: switch to freebsd 13.111
2022-07-18950e64fa46bUse STDOUT/STDERR_FILENO in most of syslogger.99
2022-07-18c290e79cf07windows: msvc: Define STDIN/OUT/ERR_FILENO.88
2022-07-18d268d0f7a16ecpg: use our instead of my in parse.pl to fix perlcritic complaint22
2022-07-18adba4b74710Add output directory option to gen_node_support.pl2121
2022-07-18c8a9246e09cAdd output directory argument to generate-unicode_norm_table.plAuthors: Andres Freund, Peter Eisentraut, Nazir Bilal Yavuz137
2022-07-182bf626b714bAdd output file argument to generate-errcodes.pl2727
2022-07-184f20506fe04Add output path arg in generate-lwlocknames.pl1212
2022-07-18b3a0d8324cfMove snowball_create.sql creation into perl fileAuthors: Peter Eisentraut, Andres Freund59
2022-07-18db0a272d123ecpg: Output dir, source dir, stamp file argument for preproc/*.pl4343
2022-07-187c3c2cb9aedpsql: Output dir and dependency generation for sql_help3232
2022-07-18a91242b1bcbDeal with paths containing \ and spaces in basebackup_to_shell tests77
2022-07-178cf64d35eacMark all symbols exported from extension libraries PGDLLEXPORT.4848
2022-07-175050fe5458dFix configure executable permissions.00
2022-07-17089480c0770Default to hidden visibility for extension libraries where possibleAuthors: Andres Freund, Tom Lane198132
2022-07-17fd4bad16553Remove now superfluous declarations of dlsym()ed symbols.00
2022-07-17f2b73c8d75dAdd central declarations for dlsym()ed symbols1616
2022-07-113838fa269c1Build de-escaped JSON strings in larger chunks during lexingAuthors: Jelte Fennema-Nio, Andres Freund, John Naylor8
2022-07-06f4d3ca421d9pgstat: slru: remove outdated comment11
2022-07-067775c748db1Remove LLVM_CONFIG from Makefile.global.in00
2022-07-06fe3caa14393Remove size increase in ExprEvalStep caused by hashed saopsAuthors: Andres Freund, David Rowley2316
2022-07-05056cc366fafpgstat: reduce timer overhead by leaving timer running.3030
2022-07-0567b26703b41expression eval: Fix EEOP_JSON_CONSTRUCTOR and EEOP_JSONEXPR size.Reverted by 2f2b18bd3f5 on 2022-09-01; 0 of 170 lines credited00
2022-07-053f8148c256eRevert 019_replslot_limit.pl related debugging aids.A revert, so no lines credited00
2022-05-280107855b148Align stats_fetch_consistency definition with guc.c default.11
2022-05-227fdbdf20492pgstat: fix stats.spec instability on slow machines.77
2022-05-120cf16cb8ca4Don't report stats in LogicalRepApplyLoop() when in xact.66
2022-05-1207d683b54afRemove function declaration for function in pg_proc.11
2022-05-120699b1ae2d8Add missing binary_upgrade.h includes.22
2022-05-1209cd33f47bbAdd 'static' to file-local variables missing it.1212
2022-05-12905c020bef9Add missing 'extern' to function prototypes.7070
2022-05-12b5f44225b83Mark a few 'bbsink' related functions / variables static.1414
2022-05-07e2f65f42555Fix old-fd issues using global barriers everywhere.241241
2022-05-049e6b7b45ca9Fix timing issue in deadlock recovery conflict test.1111
2022-05-028f1537d10e8Fix possibility of self-deadlock in ResolveRecoveryConflictWithBufferPin().1010
2022-05-0221e184403bfAdd tests for recovery deadlock conflicts.7878
2022-04-164a736a161c3pgstat: Use correct lock level in pgstat_drop_all_entries().3333
2022-04-145cd1c40b3cepgstat: set timestamps of fixed-numbered stats after a crash.2424
2022-04-07b3abca68106pgstat: Update docs to match the shared memory stats reality.Authors: Kyotaro Horiguchi, Andres Freund47
2022-04-07d6c0db14836pgstat: Hide instability in stats.spec with -DCATCACHE_FORCE_RELEASE.158158
2022-04-075264add7847pgstat: add/extend tests for resetting various kinds of stats.Authors: Melanie Plageman, Andres Freund207
2022-04-079f8a050f68dAdd minimal tests for recovery conflict handling.Authors: Melanie Plageman, Andres Freund98
2022-04-0753b9cd20d41pgstat: test stats interactions with physical replication.Authors: Melanie Plageman, Andres Freund68
2022-04-0716acf7f1aaepgstat: add tests for handling of restarts, including crashes.Authors: Melanie Plageman, Andres Freund102
2022-04-07dbe29b0d2c9Fix test instability introduced in e349c95d3e9 due to async deduplication.2424
2022-04-07a2f433fa491pgstat: add alternate output for stats.spec, for the 2PC disabled case.3,7613,761
2022-04-076392f2a0968Try to silence "-Wmissing-braces" complaints in rmgrdesc.c.Reverted by 618c64ffd39 on 2025-03-20, after 2022, so still credited22
2022-04-07e349c95d3e9pgstat: add tests for transaction behaviour, 2PC, function stats.Authors: Andres Freund, Melanie Plageman5,1513,434
2022-04-060f96965c658pgstat: add pg_stat_force_next_flush(), use it to simplify tests.103103
2022-04-065e07d3d6bdbpgstat: fix small bug in pgstat_drop_relation().66
2022-04-0681ae9e65887pgstat: prevent fix pgstat_reinit_entry() from zeroing out lwlock.22
2022-04-063536b851adbFix compilation with WAL_DEBUG.22
2022-04-06fbfe6910ecapgstat: move pgstat.c to utils/activity.22
2022-04-061db4e5a4eeepgstat: rename STATS_COLLECTOR GUC group to STATS_CUMULATIVE.1111
2022-04-066f0cf87872apgstat: remove stats_temp_directory.Authors: Andres Freund, Kyotaro Horiguchi54
2022-04-065891c7a8ed8pgstat: store statistics in shared memory.Authors: Kyotaro Horiguchi, Andres Freund, Melanie Plageman1,408
2022-04-06be902e26510pgstat: normalize function naming.5656
2022-04-06e41aed674f3pgstat: revise replication slot API in preparation for shared memory stats.4141
2022-04-068b1dccd37c7pgstat: scaffolding for transactional stats creation / drop.524524
2022-04-068fb580a35cepgstat: prepare APIs used by pgstatfuncs for shared memory stats.157157
2022-04-06997afad89d1pgstat: introduce PgStat_Kind enum.2525
2022-04-068ea7963fc74pgstat: add pgstat_copy_relation_stats().Authors: Andres Freund, Kyotaro Horiguchi3624
2022-04-06cc96373cf39pgstat: rename some pgstat_send_* functions to pgstat_report_*.2323
2022-04-06bdbd3d9064fpgstat: stats collector references in comments.9595
2022-04-06ab62a642d52pgstat: move transactional code into pgstat_xact.c.189189
2022-04-06c3e9b07936fpgstat: move pgstat_report_autovac() to pgstat_database.c.2121
2022-04-0646a2d2499a6dsm: allow use in single user mode.1111
2022-04-04909eebf27b9dshash: revise sequential scan support.2727
2022-04-0455e566fc4bcpgstat: remove some superflous comments from pgstat.h.00
2022-04-04edadf8098f4pgstat: consistent function comment formatting.9797
2022-03-3128bdfa2adfcPrint information about type of test and subdirectory before running tests.77
2022-03-30ff50baec65bci: enable zstd where available.66
2022-03-2791c0570a791Don't fail for > 1 walsenders in 019_replslot_limit, add debug messages.Reverted by 3f8148c256e on 2022-07-05; 0 of 16 lines credited00
2022-03-27da4b56662f2Mark pg_stat_get_subscription_stats() strict.99
2022-03-2743a7dc96eb3Fix NULL input behaviour of pg_stat_get_replication_slot().1313
2022-03-27264d284929ewaldump: fix use-after-free in search_directory().11
2022-03-25c64fb698d07Make update-unicode target work in vpath builds66
2022-03-24f28bf667f60Add retries for further investigation of 019_replslot_limit.pl failures.Reverted by 3f8148c256e on 2022-07-05; 0 of 25 lines credited00
2022-03-233ac7d024122Don't try to translate NULL in GetConfigOptionByNum().11
2022-03-231c6bb380e5aDon't call fwrite() with len == 0 when writing out relcache init file.11
2022-03-23e71c76fcab8configure: check for dlsym instead of dlopen.1919
2022-03-2381b9f23c9c8ci: test headerscheck, cpluspluscheck as part of CompilerWarnings task.2323
2022-03-223707e437c73Add missing xlogdefs.h include to pg_subscription.h.11
2022-03-22097786fbbb5Add missing dependency of pg_dumpall to WIN32RES.11
2022-03-22ce8c978295apgstat: fix function name in comment.11
2022-03-21315ae75e9b6pgstat: reorder pgstat.[ch] contents.Mechanical: mostly reformatting; 0 of 891 lines credited00
2022-03-2113619598f10pgstat: split different types of stats into separate files.Mechanical: mostly code moved; 394 of 2,400 lines credited394394
2022-03-20d4ba8b51c76pgstat: separate "xact level" handling out of relation specific functions.3535
2022-03-20bff258a2732pgstat: rename pgstat_initstats() to pgstat_relation_init().66
2022-03-208363102009dpgstat: introduce pgstat_relation_should_count().2727
2022-03-193c0c5cc5e65Add a few recent and not so recent revs to git-blame-ignore-revs.99
2022-03-1978f9506b380pgstat: split out WAL handling from pgstat_{initialize,report_stat}.3030
2022-03-1989c546c2948pgstat: split relation, database handling out of pgstat_report_stat().5656
2022-03-19a3a75b982b5pgstat: run pgindent on pgstat.c/h.1616
2022-03-1950b1e8c51b3ci: windows: Use CIRRUS_ESCAPING_PROCESSES, revert 770011e3f39.A revert, so no lines credited00
2022-03-1897bddda61b9Silence -Wmaybe-uninitialized compiler warning in dbcommands.c.11
2022-03-127e12256b478Force track_io_timing off in explain.sql to avoid failures when enabled.1010
2022-03-1202fea8fdda6Set synchronous_commit=on in test_setup.sql.Authors: Andres Freund, Aleksander Alekseev1510
2022-03-0945fb0de4dc6ldap tests: Add paths for openbsd.55
2022-03-09ee56c3b2162ldap tests: Don't run on unsupported operating systems.1010
2022-03-0843e7787dd33plpython: Restore alternative output for plpython_error test.448448
2022-03-0854c72eb5e5eplpython: add missing plpython.h include to plpy_plpymodule.h11
2022-03-074228cabb72bplpython: Adjust docs after removal of Python 2 support.6969
2022-03-079b7e24a2cb3plpython: Code cleanup related to removal of Python 2 support.9191
2022-03-07db23464715fplpython: Remove regression test infrastructure for Python 2.625625
2022-03-0776a29adee74plpython: Remove plpythonu, plpython2u and associated transform extensions.77
2022-03-04770011e3f39ci: windows: Work around cirrus-ci bug causing test failures.Reverted by 50b1e8c51b3 on 2022-03-19; 0 of 5 lines credited00
2022-02-266b04abdfc5eRun tap tests in src/interfaces/libpq.1616
2022-02-26ac25173cdbcConvert src/interfaces/libpq/test to a tap test.246246
2022-02-26d33aeefd9b7Fix warning on mingw due to pid_t width, introduced in fe0972ee5e6.11
2022-02-25fe0972ee5e6Add further debug info to help debug 019_replslot_limit.pl failures.Reverted by 3f8148c256e on 2022-07-05; 0 of 55 lines credited00
2022-02-22afdeff10526Add temporary debug info to help debug 019_replslot_limit.pl failures.Reverted by 3f8148c256e on 2022-07-05; 0 of 34 lines credited00
2022-02-212776922201fAssert in init_toast_snapshot() that some snapshot registered or active.3636
2022-02-217c38ef2a5d6Fix temporary object cleanup failing due to toast access without snapshot.204204
2022-02-2127b02e070fdpg_upgrade: Don't print progress status when output is not a tty.5959
2022-02-20fbabdf8f9a5Fix meaning-changing typo introduced in fa0e03c15a9f.11
2022-02-1619252e8ec93plpython: Reject Python 2 during build configuration.1919
2022-02-151f6e0ce3bebdocs: Work around bug in the docbook xsl stylesheets.55
2022-02-14278cdea6b9dAdd isolation test for errors during logical slot creation.155155
2022-02-12f79c94f39dfci: fix copy-paste mistake in 16eb8231d1b.11
2022-02-1216eb8231d1bci: Only use one artifact instruction for logs.55
2022-02-037c1aead6cbeFix compiler warning in non-assert builds, introduced in f862d57057f.11
2022-02-02f3feff82594windows: Improve crash / assert / exception handling.5858
2022-02-026dcc1852667ci: windows: run tests under timeout.4545
2022-01-277340aceed72Specify --host in 027_stream_regress.pl's pg_regress invocation.11
2022-01-25bd233bdd8ddReplace use of deprecated Python module distutils.sysconfig, take 2.Authors: Peter Eisentraut, Tom Lane, Andres Freund5
2022-01-23f032f63e727Temporarily add some information about python include paths to configure.Reverted by e2217706619 on 2022-01-25; 0 of 44 lines credited00
2022-01-239c86d9337ebpg_basebackup: Skip a few more fsyncs if --no-sync is specified.2222
2022-01-17839f9636b37tests: Consistently use pg_basebackup -cfast --no-sync to accelerate tests.5656
2022-01-17c702d656a28heap pruning: Only call BufferGetBlockNumber() once.22
2022-01-13bb42bfb5ccbAssert redirect pointers are sensible after heap_page_prune().5757
2022-01-1318b87b201f7Fix possible HOT corruption when RECENTLY_DEAD changes to DEAD while pruning.8282
2022-01-138a1ce5e54f6ci: windows: enable build summary to make it easier to spot warnings / errors.77
Total30,87224,591

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