Commit c3f4c4b
Global snapshots
Check that global_snapshot_defer_time early instead of falling on assert.
Also set default value to 30 secs.
Mostly cosmetical improvements.
* (Arguably) improved comments around locking during circular buffer
maintenance; also, don't lock procarray during global_snapshot_xmin bump.
* s/snaphot/snapshot, other typos.
* Don't track_global_snapshots by default -- while handy for testing, it
doesn't look generally good.
(cherry picked from commit f9dd1c3)
Fix initdb failure with non-zero global_snapshot_defer_time.
And set its default value to 5.
Also fix one warning (damned 'void' instead of true void).
(cherry picked from commit d545692)1 parent 2d731c6 commit c3f4c4b
File tree
23 files changed
+1356
-8
lines changed- src
- backend
- access/transam
- storage
- ipc
- lmgr
- utils
- misc
- time
- include
- access
- catalog
- datatype
- portability
- storage
- utils
23 files changed
+1356
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
0 commit comments