Commits in 2022
Commits63 commits
40Author
0Committer
21Reviewer
2Reported by
1Co-author
| Credit | Commit | Branches | Thread(s) | Committed |
|---|---|---|---|---|
| Reviewer | pg_waldump: Add --save-fullpage=PATH to save full page images from WAL records | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | [PATCH] Teach pg_waldump to extract FPIs from the WAL | Dec 26, 2022 |
| Author | Rename pg_dissect_walfile_name() to pg_split_walfile_name() | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | Add LSN along with offset to error messages reported for WAL file read/write/validate header failures | Dec 23, 2022 |
| Author | Switch some system functions to use get_call_result_type() | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | Use get_call_result_type() more widely | Dec 21, 2022 |
| Author | Add pg_dissect_walfile_name() | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | Add LSN along with offset to error messages reported for WAL file read/write/validate header failures | Dec 20, 2022 |
| Author | Add LSN location in some error messages related to WAL pages | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | Add LSN along with offset to error messages reported for WAL file read/write/validate header failures | Dec 05, 2022 |
| Reviewer | Remove promote_trigger_file. | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | Reducing power consumption on idle servers | Nov 28, 2022 |
| Reviewer | Add the database name to the ps display of logical WAL senders | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | ps command does not show walsender's connected db | Nov 24, 2022 |
| ReviewerBackported | lwlock: Fix quadratic behavior with very long wait lists | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15.6REL_14_STABLE14.11REL_13_STABLE13.14+1 more | heavily contended lwlocks with long wait queues scale badlyrefactoring relation extension and BufferAlloc(), faster COPY | Nov 20, 2022 |
| Reviewer | pgstat: replace double lookup with IsSharedRelation() | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | Avoid double lookup in pgstat_fetch_stat_tabentry() | Nov 20, 2022 |
| Author | Add test module for Custom WAL Resource Manager feature. | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | Add test module for Custom WAL Resource Manager feature | Nov 15, 2022 |
| Reviewer | Disallow setting archive_library and archive_command at the same time | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | archive modules | Nov 15, 2022 |
| Reviewer | Suppress useless wakeups in walreceiver. | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | Suppressing useless wakeups in walreceiver | Nov 08, 2022 |
| Author | Use pg_pwrite_zeros() in walmethods.c | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | Use pg_pwritev_with_retry() instead of write() in dir_open_for_write() to avoid partial writes? | Nov 08, 2022 |
| Author | Introduce pg_pwrite_zeros() in fileutils.c | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | Use pg_pwritev_with_retry() instead of write() in dir_open_for_write() to avoid partial writes? | Nov 08, 2022 |
| Reviewer | Add doubly linked count list implementation | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | Adding doubly linked list type which stores the number of items in the list | Nov 02, 2022 |
| Author | Move pg_pwritev_with_retry() to src/common/file_utils.c | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | Use pg_pwritev_with_retry() instead of write() in dir_open_for_write() to avoid partial writes? | Oct 27, 2022 |
| Author | Improve memory handling across SQL-callable backup functions | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | Avoid memory leaks during base backups | Oct 22, 2022 |
| Reviewer | Get rid of XLogCtlInsert->forcePageWrites | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | Oct 19, 2022 | |
| Co-author | Remove pg_backup_start_callback and reuse similar code | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | Move backup-related code to xlogbackup.c/.h | Oct 19, 2022 |
| AuthorBackported | Rework shutdown callback of archiver modules | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15.1 | fix archive module shutdown callback | Oct 19, 2022 |
| ReviewerBackported | Fix calculation related to temporary WAL segment name in basic_archive | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15.1 | thinko in basic_archive.c | Oct 17, 2022 |
| Author | Simplify some maths in xlogreader.c | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | Remove an unnecessary LSN calculation while validating WAL page header | Oct 12, 2022 |
| Author | Use macros from xlog_internal.h for WAL segment logic in pg_resetwal | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | Use XLogFromFileName() in pg_resetwal to parse position from WAL file | Oct 05, 2022 |
| Reviewer | Remove useless argument from UnpinBuffer() | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | Refactor UnpinBuffer() | Sep 30, 2022 |
| Author | Map ERROR_INVALID_NAME to ENOENT in mapping table of win32error.c | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | Extend win32 error codes to errno mapping in win32error.c | Sep 29, 2022 |
| ReviewerReported by | Restore pg_pread and friends. | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | Use pg_pwritev_with_retry() instead of write() in dir_open_for_write() to avoid partial writes? | Sep 29, 2022 |
| Author | Fix some comments of do_pg_backup_start() and do_pg_backup_stop() | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | Is it correct to say, "invalid data in file \"%s\"", BACKUP_LABEL_FILE in do_pg_backup_stop? | Sep 28, 2022 |
| Reviewer | Remove dependency to StringInfo in xlogbackup.{c.h} | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | Is it correct to say, "invalid data in file \"%s\"", BACKUP_LABEL_FILE in do_pg_backup_stop? | Sep 27, 2022 |
| Author | Refactor creation of backup_label and backup history files | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | Is it correct to say, "invalid data in file \"%s\"", BACKUP_LABEL_FILE in do_pg_backup_stop? | Sep 26, 2022 |
| AuthorLLMBackported | Reset InstallXLogFileSegmentActive after walreceiver self-initiated exit. | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15rc1REL_14_STABLE14.18REL_13_STABLE13.21 | Assertion failure in WaitForWALToBecomeAvailable state machine | Sep 15, 2022 |
| AuthorLLM | Use the terminology "WAL file" not "log file" more consistently. | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | Use "WAL segment" instead of "log segment" consistently in user-facing messages | Sep 14, 2022 |
| Reviewer | Handle SIGTERM in pg_receivewal and pg_recvlogical | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | pg_receivewal and SIGTERM | Sep 14, 2022 |
| Author | Rename macro related to pg_backup_stop() | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | Adjust macro name in pg_backup_stop() | Sep 13, 2022 |
| Author | pgstattuple: Use double consistently for percentages | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | pg_walinspect float4/float8 confusion | Sep 12, 2022 |
| AuthorBackported | Use float8 datatype for percentiles in pg_walinspect stat functions | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15rc1 | pg_walinspect float4/float8 confusion | Sep 12, 2022 |
| Reported byBackported | Fix doc oversight for custom WAL resource managers. | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15beta4 | Logical replication support for generic wal record | Aug 25, 2022 |
| ReviewerBackported | Use logical operator && instead of & in vacuumparallel.c. | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15beta4 | Fix typo with logical connector (src/backend/commands/vacuumparallel.c) | Aug 22, 2022 |
| Author | Fix comment in walsender_private.h | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | Fix a comment in WalSnd structure | Aug 22, 2022 |
| AuthorBackported | Use correct LSN for error reporting in pg_walinspect | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15beta4 | pg_walinspect: ReadNextXLogRecord's first_record argument | Aug 18, 2022 |
| Author | Use SetInstallXLogFileSegmentActive() in more places in xlog.c | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | Use SetInstallXLogFileSegmentActive() for setting XLogCtl->InstallXLogFileSegmentActive | Aug 17, 2022 |
| Reviewer | Remove useless arguments in ReadCheckpointRecord(). | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | Remove useless arguments in ReadCheckpointRecord(). | Jul 25, 2022 |
| Author | Add checkpoint and REDO LSN to log_checkpoints message. | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | Add checkpoint and redo LSN to LogCheckpointEnd log message | Jul 07, 2022 |
| Author | Clean up some includes and comments in TAP test scripts | master16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1 | Fix unnecessary includes and comments in 019_replslot_limit.pl, 007_wal.pl and 004_timeline_switch.pl | Jul 07, 2022 |
| AuthorLLM | Remove unused-and-misspelled function extern declaration. | master15beta2REL_19_STABLE15beta2REL_18_STABLE15beta2REL_17_STABLE15beta2REL_16_STABLE15beta2REL_15_STABLE15beta2 | definition of CalculateMaxmumSafeLSNRemove an undefined function CalculateMaxmumSafeLSN | May 21, 2022 |
| Author | Fix typo in walreceiver.c | master15beta2REL_19_STABLE15beta2REL_18_STABLE15beta2REL_17_STABLE15beta2REL_16_STABLE15beta2REL_15_STABLE15beta2 | Fix a typo in walreceiver.c | May 18, 2022 |
| Author | basebackup_to_shell: Add missing MarkGUCPrefixReserved() | master15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1 | Add missing MarkGUCPrefixReserved() in basebackup_to_shell module | May 02, 2022 |
| Author | Add contrib/pg_walinspect. | master15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1 | pg_walinspect - a new extension to get raw WAL data and WAL stats | Apr 08, 2022 |
| Author | Fix typo in xlogrecovery.c code comment | master15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1 | Fix a typo in xlogrecovery.c | Apr 07, 2022 |
| Reviewer | Custom WAL Resource Managers. | master15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1 | Extensible Rmgr for Table AMs | Apr 07, 2022 |
| Reviewer | Raise a WARNING for missing publications. | master15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1 | Identify missing publications from publisher while create/alter subscription. | Mar 31, 2022 |
| AuthorLLM | Explain why the startup process can't cause a shortage of sinval slots. | master15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1 | Accommodate startup process in a separate ProcState array slot instead of in MaxBackends slots. | Mar 29, 2022 |
| Reviewer | Add additional filtering options to pg_waldump. | master15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1 | [PATCH] add relation and block-level filtering to pg_waldump | Mar 24, 2022 |
| Author | Fix use of wrong variable in pg_receivewal's get_destination_dir(). | master15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1 | Fix a typo in pg_receivewal.c's get_destination_dir() | Feb 27, 2022 |
| Author | Fix typo in logicalfuncs.c. | master15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1 | Fix typo in logicalfuncs.c - :%s/private date/Private data | Feb 26, 2022 |
| Reviewer | Quick exit on log stream child exit in pg_basebackup | master15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1 | Trap errors from streaming child in pg_basebackup to exit earlypg_basebackup behavior on non-existent slot | Feb 23, 2022 |
| AuthorLLM | Spell "startup process" with lower case in the documentation | master15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1 | Consistently use "startup process"/"WAL sender" instead of "Startup process"/"WAL Sender" in comments and docs. | Feb 15, 2022 |
| Author | Free temporary memory when reading TOC | master15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1 | Plug minor memleak in pg_dump | Feb 09, 2022 |
| Author | Remove xloginsert.h from xlog.h | master15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1 | Remove extra includes of "access/xloginsert.h" when "access/xlog.h" is included | Jan 30, 2022 |
| AuthorBackported | Fix incorrect memory context switch in COPY TO execution | master15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1REL_14_STABLE14.2 | BeginCopyTo - remove switching to old memory context in between COPY TO command processing | Jan 29, 2022 |
| ReviewerBackported | Prevent memory context logging from sending log message to connected client. | master15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1REL_14_STABLE14.2 | pg_log_backend_memory_contexts() and log level | Jan 28, 2022 |
| Author | Consistently use the function name CreateCheckPoint in code and comments. | master15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1 | Consistently use the function name CreateCheckPoint instead of CreateCheckpoint in code comments | Jan 17, 2022 |
| Author | Enhance pg_log_backend_memory_contexts() for auxiliary processes. | master15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1 | enhance pg_log_backend_memory_contexts() to log memory contexts of auxiliary processes | Jan 11, 2022 |
| Author | Fix typo in rewriteheap.c. | master15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1 | Fix a possible typo in rewriteheap.c code comments | Jan 11, 2022 |