aboutsummaryrefslogtreecommitdiff
path: root/src/backend/storage
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2019-06-03 13:44:03 +0900
committerMichael Paquier <michael@paquier.xyz>2019-06-03 13:44:03 +0900
commit1fb6f62a84041b668fd9e85a2f33bb3a0fd28fdc (patch)
treebcf6bac3dc4d8e1ce07b6d883b0e30990025f834 /src/backend/storage
parent0240a00fbd4fd14f577edf8d36a032237fd0b9cb (diff)
downloadpostgresql-1fb6f62a84041b668fd9e85a2f33bb3a0fd28fdc.tar.gz
postgresql-1fb6f62a84041b668fd9e85a2f33bb3a0fd28fdc.zip
Fix typos in various places
Author: Andrea Gelmini Reviewed-by: Michael Paquier, Justin Pryzby Discussion: https://postgr.es/m/20190528181718.GA39034@glet
Diffstat (limited to 'src/backend/storage')
-rw-r--r--src/backend/storage/buffer/buf_init.c2
-rw-r--r--src/backend/storage/ipc/standby.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/storage/buffer/buf_init.c b/src/backend/storage/buffer/buf_init.c
index b0ee3a26d6e..ccd2c31c0b3 100644
--- a/src/backend/storage/buffer/buf_init.c
+++ b/src/backend/storage/buffer/buf_init.c
@@ -179,7 +179,7 @@ BufferShmemSize(void)
* and benchmarking has shown that keeping every BufferDesc aligned on a
* cache line boundary is important for performance. So, instead, the
* array of I/O locks is allocated in a separate tranche. Because those
- * locks are not highly contentended, we lay out the array with minimal
+ * locks are not highly contended, we lay out the array with minimal
* padding.
*/
size = add_size(size, mul_size(NBuffers, sizeof(LWLockMinimallyPadded)));
diff --git a/src/backend/storage/ipc/standby.c b/src/backend/storage/ipc/standby.c
index 842fcabd979..25b7e314afc 100644
--- a/src/backend/storage/ipc/standby.c
+++ b/src/backend/storage/ipc/standby.c
@@ -202,7 +202,7 @@ WaitExceedsMaxStandbyDelay(void)
/*
* Progressively increase the sleep times, but not to more than 1s, since
- * pg_usleep isn't interruptable on some platforms.
+ * pg_usleep isn't interruptible on some platforms.
*/
standbyWait_us *= 2;
if (standbyWait_us > 1000000)