Commit 24507acc authored by Bruce Momjian's avatar Bruce Momjian

Changes to documentation and the regression tests for the default

NAMEDATALEN of 64.

Kris Jurka
parent 86e8a43f
...@@ -560,7 +560,7 @@ ...@@ -560,7 +560,7 @@
Table, column, type, function, and view names are stored in system Table, column, type, function, and view names are stored in system
tables in columns of type Name. Name is a fixed-length, tables in columns of type Name. Name is a fixed-length,
null-terminated type of NAMEDATALEN bytes. (The default value for null-terminated type of NAMEDATALEN bytes. (The default value for
NAMEDATALEN is 32 bytes.) NAMEDATALEN is 64 bytes.)
typedef struct nameData typedef struct nameData
{ {
char data[NAMEDATALEN]; char data[NAMEDATALEN];
......
...@@ -671,7 +671,7 @@ ...@@ -671,7 +671,7 @@
<P>Table, column, type, function, and view names are stored in <P>Table, column, type, function, and view names are stored in
system tables in columns of type <I>Name.</I> Name is a system tables in columns of type <I>Name.</I> Name is a
fixed-length, null-terminated type of <I>NAMEDATALEN</I> bytes. fixed-length, null-terminated type of <I>NAMEDATALEN</I> bytes.
(The default value for NAMEDATALEN is 32 bytes.)</P> (The default value for NAMEDATALEN is 64 bytes.)</P>
<PRE> <PRE>
<CODE>typedef struct nameData <CODE>typedef struct nameData
{ {
......
-- --
-- NAME -- NAME
-- all inputs are silently truncated at NAMEDATALEN-1 (63) characters
-- --
-- fixed-length by reference -- fixed-length by reference
SELECT name 'name string' = name 'name string' AS "True"; SELECT name 'name string' = name 'name string' AS "True";
......
-- --
-- NAME -- NAME
-- all inputs are silently truncated at NAMEDATALEN-1 (63) characters
-- --
-- fixed-length by reference -- fixed-length by reference
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment