Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit24507ac

Browse files
committed
Changes to documentation and the regression tests for the default
NAMEDATALEN of 64.Kris Jurka
1 parent86e8a43 commit24507ac

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

‎doc/FAQ_DEV

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@
560560
Table, column, type, function, and view names are stored in system
561561
tables in columns of type Name. Name is a fixed-length,
562562
null-terminated type of NAMEDATALEN bytes. (The default value for
563-
NAMEDATALEN is32 bytes.)
563+
NAMEDATALEN is64 bytes.)
564564
typedef struct nameData
565565
{
566566
char data[NAMEDATALEN];

‎doc/src/FAQ/FAQ_DEV.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ <H3><A name="2.2">2.2</A>) Why are table, column, type, function, view
671671
<P>Table, column, type, function, and view names are stored in
672672
system tables in columns of type<I>Name.</I> Name is a
673673
fixed-length, null-terminated type of<I>NAMEDATALEN</I> bytes.
674-
(The default value for NAMEDATALEN is32 bytes.)</P>
674+
(The default value for NAMEDATALEN is64 bytes.)</P>
675675
<PRE>
676676
<CODE>typedef struct nameData
677677
{

‎src/test/regress/expected/name.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--
22
-- NAME
3-
-- all inputs are silently truncated at NAMEDATALEN (32) characters
3+
-- all inputs are silently truncated at NAMEDATALEN-1 (63) characters
44
--
55
-- fixed-length by reference
66
SELECT name 'name string' = name 'name string' AS "True";

‎src/test/regress/sql/name.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--
22
-- NAME
3-
-- all inputs are silently truncated at NAMEDATALEN (32) characters
3+
-- all inputs are silently truncated at NAMEDATALEN-1 (63) characters
44
--
55

66
-- fixed-length by reference

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp