Commit Graph

238 Commits (e3584258154fac40e16f757fadd3361688a166d2)

Author SHA1 Message Date
Michael Paquier e358425815 Fix handling of orphaned 2PC files in the future at recovery 12 months ago
Tom Lane 508a97ee49 Replace PGPROC.isBackgroundWorker with isRegularBackend. 12 months ago
Tom Lane 34486b6092 Exclude parallel workers from connection privilege/limit checks. 12 months ago
Peter Eisentraut 7f798aca1d Remove useless casts to (void *) 1 year ago
Michael Paquier cf4401fe6c Fix race condition in COMMIT PREPARED causing orphaned 2PC files 1 year ago
Amit Kapila 1462aad2e4 Allow altering of two_phase option of a SUBSCRIPTION. 1 year ago
Heikki Linnakangas cbfbda7841 Fix MVCC bug with prepared xact with subxacts on standby 2 years ago
Peter Eisentraut 17974ec259 Revise GUC names quoting in messages again 2 years ago
Peter Eisentraut dbbca2cf29 Remove unused #include's from backend .c files 2 years ago
Heikki Linnakangas 024c521117 Replace BackendIds with 0-based ProcNumbers 2 years ago
Heikki Linnakangas ab355e3a88 Redefine backend ID to be an index into the proc array 2 years ago
Heikki Linnakangas 28f3915b73 Remove superfluous 'pgprocno' field from PGPROC 2 years ago
Bruce Momjian 29275b1d17 Update copyright for 2024 2 years ago
Heikki Linnakangas b31ba5310b Rename ShmemVariableCache to TransamVariables 2 years ago
Alexander Korotkov ae2ccf66a2 Fix typo in 5a1dfde833 2 years ago
Alexander Korotkov 5a1dfde833 Make use FullTransactionId in 2PC filenames 2 years ago
Michael Paquier 4e465aac36 Fix indentation in twophase.c 2 years ago
Michael Paquier cb0cca1880 Fix recovery of 2PC transaction during crash recovery 2 years ago
Andres Freund 5764f611e1 Use dlist/dclist instead of PROC_QUEUE / SHM_QUEUE for heavyweight locks 3 years ago
Bruce Momjian c8e1ba736b Update copyright for 2023 3 years ago
Andres Freund a4adc31f69 lwlock: Fix quadratic behavior with very long wait lists 3 years ago
Peter Eisentraut 9fd45870c1 Replace many MemSet calls with struct initialization 3 years ago
Robert Haas b0a55e4329 Change internal RelFileNode references to RelFileNumber or RelFileLocator. 4 years ago
Tom Lane 23e7b38bfe Pre-beta mechanical code beautification. 4 years ago
Robert Haas 7fc0e7de9f Revert the addition of GetMaxBackends() and related stuff. 4 years ago
Robert Haas f37015a161 Rename delayChkpt to delayChkptFlags. 4 years ago
Andres Freund 8b1dccd37c pgstat: scaffolding for transactional stats creation / drop. 4 years ago
Robert Haas 412ad7a556 Fix possible recovery trouble if TRUNCATE overlaps a checkpoint. 4 years ago
Michael Paquier c963e84fb8 Make origin data initialization consistent other fields in 2PC header 4 years ago
Robert Haas aa64f23b02 Remove MaxBackends variable in favor of GetMaxBackends() function. 4 years ago
Bruce Momjian 27b77ecf9f Update copyright for 2022 4 years ago
Michael Paquier ece8c76192 Remove assertion for replication origins in PREPARE TRANSACTION 4 years ago
Noah Misch 3354746910 Report any XLogReadRecord() error in XlogReadTwoPhaseData(). 4 years ago
Robert Haas e997a0c642 Remove all use of ThisTimeLineID global variable outside of xlog.c 4 years ago
Noah Misch 3cd9c3b921 Fix CREATE INDEX CONCURRENTLY for the newest prepared transactions. 4 years ago
Michael Paquier 710796f054 Avoid unnecessary shared invalidations in ROLLBACK PREPARED 4 years ago
Amit Kapila a8fd13cab0 Add support for prepared transactions to built-in logical replication. 5 years ago
Tom Lane def5b065ff Initial pgindent and pgperltidy run for v14. 5 years ago
Thomas Munro c2dc19342e Revert recovery prefetching feature. 5 years ago
Fujii Masao 08aa89b326 Remove COMMIT_TS_SETTS record. 5 years ago
Thomas Munro 323cbe7c7d Remove read_page callback from XLogReader. 5 years ago
Michael Paquier 595b9cba2a Fix timeline assignment in checkpoints with 2PC transactions 5 years ago
Amit Kapila 8a812e5106 Track replication origin progress for rollbacks. 5 years ago
Peter Eisentraut 6f6f284c7e Simplify printing of LSNs 5 years ago
Fujii Masao f05ed5a5cf Initialize atomic variable waitStart in PGPROC, at postmaster startup. 5 years ago
Fujii Masao 46d6e5f567 Display the time when the process started waiting for the lock, in pg_locks, take 2 5 years ago
Bruce Momjian ca3b37487b Update copyright for 2021 5 years ago
Alvaro Herrera cd9c1b3e19
Rename PGPROC->vacuumFlags to statusFlags 5 years ago
Peter Eisentraut c005eb00e7 Standardize the printf format for st_size 5 years ago
Andres Freund 73487a60fc snapshot scalability: Move subxact info to ProcGlobal, remove PGXACT. 5 years ago