mirror of
https://github.com/postgres/postgres.git
synced 2025-11-07 19:06:32 +03:00
Fix various typos in code and tests
Most of these are recent, and the documentation portions are new as of v16 so there is no need for a backpatch. Author: Justin Pryzby Discussion: https://postgr.es/m/20230208155644.GM1653@telsasoft.com
This commit is contained in:
@@ -1816,7 +1816,7 @@ SnapBuildSerialize(SnapBuild *builder, XLogRecPtr lsn)
|
||||
fsync_fname("pg_logical/snapshots", true);
|
||||
|
||||
/*
|
||||
* Now there's no way we can loose the dumped state anymore, remember this
|
||||
* Now there's no way we can lose the dumped state anymore, remember this
|
||||
* as a serialization point.
|
||||
*/
|
||||
builder->last_serialized_snapshot = lsn;
|
||||
|
||||
@@ -2050,9 +2050,9 @@ PhysicalConfirmReceivedLocation(XLogRecPtr lsn)
|
||||
|
||||
/*
|
||||
* One could argue that the slot should be saved to disk now, but that'd
|
||||
* be energy wasted - the worst lost information can do here is give us
|
||||
* wrong information in a statistics view - we'll just potentially be more
|
||||
* conservative in removing files.
|
||||
* be energy wasted - the worst thing lost information could cause here is
|
||||
* to give wrong information in a statistics view - we'll just potentially
|
||||
* be more conservative in removing files.
|
||||
*/
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user