Reported-by: John Naylor
Author: John Naylor
Backpatch-through: 9.5
Discussion: https://postgr.es/m/CACPNZCtRuvs6G+EYqejhVJgBq2AKeZdXRVJsbX4syhO9gn5SNQ@mail.gmail.com
-- verify length of large object
SELECT lo_lseek(fd, 0, 2) FROM lotest_stash_values;
--- with the default BLKSZ, LOBLKSZ = 2048, so this positions us for a block
+-- with the default BLCKSZ, LOBLKSIZE = 2048, so this positions us for a block
-- edge case
SELECT lo_lseek(fd, 2030, 0) FROM lotest_stash_values;
670800
(1 row)
--- with the default BLKSZ, LOBLKSZ = 2048, so this positions us for a block
+-- with the default BLCKSZ, LOBLKSIZE = 2048, so this positions us for a block
-- edge case
SELECT lo_lseek(fd, 2030, 0) FROM lotest_stash_values;
lo_lseek
680800
(1 row)
--- with the default BLKSZ, LOBLKSZ = 2048, so this positions us for a block
+-- with the default BLCKSZ, LOBLKSIZE = 2048, so this positions us for a block
-- edge case
SELECT lo_lseek(fd, 2030, 0) FROM lotest_stash_values;
lo_lseek