typos in comments referring to macros
It should be BLCKSZ and LOBLKSIZE, as in the attached.
--
John Naylor https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Attachments:
block-size-comment.patchapplication/octet-stream; name=block-size-comment.patchDownload
diff --git a/src/test/regress/input/largeobject.source b/src/test/regress/input/largeobject.source
index f40338ddf8..ff42697d11 100644
--- a/src/test/regress/input/largeobject.source
+++ b/src/test/regress/input/largeobject.source
@@ -180,7 +180,7 @@ UPDATE lotest_stash_values SET fd=lo_open(loid, CAST(x'20000' | x'40000' AS inte
-- 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;
diff --git a/src/test/regress/output/largeobject.source b/src/test/regress/output/largeobject.source
index ea712a5e2f..91090f0fde 100644
--- a/src/test/regress/output/largeobject.source
+++ b/src/test/regress/output/largeobject.source
@@ -326,7 +326,7 @@ SELECT lo_lseek(fd, 0, 2) 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
diff --git a/src/test/regress/output/largeobject_1.source b/src/test/regress/output/largeobject_1.source
index f01596cea7..ec01f3e478 100644
--- a/src/test/regress/output/largeobject_1.source
+++ b/src/test/regress/output/largeobject_1.source
@@ -326,7 +326,7 @@ SELECT lo_lseek(fd, 0, 2) FROM lotest_stash_values;
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
On Wed, Jun 10, 2020 at 2:47 PM John Naylor <john.naylor@2ndquadrant.com> wrote:
It should be BLCKSZ and LOBLKSIZE, as in the attached.
LGTM on first look. I'll push either later today or tomorrow.
--
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com
On Wed, Jun 10, 2020 at 3:19 PM Amit Kapila <amit.kapila16@gmail.com> wrote:
On Wed, Jun 10, 2020 at 2:47 PM John Naylor <john.naylor@2ndquadrant.com> wrote:
It should be BLCKSZ and LOBLKSIZE, as in the attached.
LGTM on first look. I'll push either later today or tomorrow.
Pushed.
--
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com