mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Changes to documentation and the regression tests for the default
NAMEDATALEN of 64. Kris Jurka
This commit is contained in:
@ -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 @@
|
|||||||
<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
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--
|
--
|
||||||
-- NAME
|
-- NAME
|
||||||
-- all inputs are silently truncated at NAMEDATALEN (32) characters
|
-- 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";
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--
|
--
|
||||||
-- NAME
|
-- NAME
|
||||||
-- all inputs are silently truncated at NAMEDATALEN (32) characters
|
-- all inputs are silently truncated at NAMEDATALEN-1 (63) characters
|
||||||
--
|
--
|
||||||
|
|
||||||
-- fixed-length by reference
|
-- fixed-length by reference
|
||||||
|
Reference in New Issue
Block a user