From 24507acc0bd015100772fdc0d7ae39f30c287bef Mon Sep 17 00:00:00 2001
From: Bruce Momjian Table, column, type, function, and view names are stored in
system tables in columns of type Name. Name is a
fixed-length, null-terminated type of NAMEDATALEN bytes.
- (The default value for NAMEDATALEN is 32 bytes.)
typedef struct nameData
{
diff --git a/src/test/regress/expected/name.out b/src/test/regress/expected/name.out
index ce876c4eb3..8cc09dae74 100644
--- a/src/test/regress/expected/name.out
+++ b/src/test/regress/expected/name.out
@@ -1,6 +1,6 @@
--
-- NAME
--- all inputs are silently truncated at NAMEDATALEN (32) characters
+-- all inputs are silently truncated at NAMEDATALEN-1 (63) characters
--
-- fixed-length by reference
SELECT name 'name string' = name 'name string' AS "True";
diff --git a/src/test/regress/sql/name.sql b/src/test/regress/sql/name.sql
index bcf3ac90fe..58fa0120fd 100644
--- a/src/test/regress/sql/name.sql
+++ b/src/test/regress/sql/name.sql
@@ -1,6 +1,6 @@
--
-- NAME
--- all inputs are silently truncated at NAMEDATALEN (32) characters
+-- all inputs are silently truncated at NAMEDATALEN-1 (63) characters
--
-- fixed-length by reference
--
2.40.0