Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
11312612
Commit
11312612
authored
24 years ago
by
Thomas G. Lockhart
Browse files
Options
Downloads
Patches
Plain Diff
Clarify the allowed length of the text data type.
parent
20efb264
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/src/sgml/datatype.sgml
+8
-9
8 additions, 9 deletions
doc/src/sgml/datatype.sgml
with
8 additions
and
9 deletions
doc/src/sgml/datatype.sgml
+
8
−
9
View file @
11312612
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/datatype.sgml,v 1.4
2
2000/1
1/16 06:03:40 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/datatype.sgml,v 1.4
3
2000/1
2/03 14:47:18 thomas
Exp $
-->
-->
<chapter id="datatype">
<chapter id="datatype">
...
@@ -497,9 +497,9 @@ CREATE TABLE <replaceable class="parameter">tablename</replaceable> (<replaceabl
...
@@ -497,9 +497,9 @@ CREATE TABLE <replaceable class="parameter">tablename</replaceable> (<replaceabl
</row>
</row>
<row>
<row>
<entry>text</entry>
<entry>text</entry>
<entry>(4+
length
) bytes</entry>
<entry>(4+
n
) bytes</entry>
<entry>
Be
st
choic
e</entry>
<entry>
Mo
st
flexibl
e</entry>
<entry>Variable
-
length</entry>
<entry>Variable
unlimited
length</entry>
</row>
</row>
<row>
<row>
<entry>varchar(n)</entry>
<entry>varchar(n)</entry>
...
@@ -514,10 +514,9 @@ CREATE TABLE <replaceable class="parameter">tablename</replaceable> (<replaceabl
...
@@ -514,10 +514,9 @@ CREATE TABLE <replaceable class="parameter">tablename</replaceable> (<replaceabl
<para>
<para>
There is one other fixed-length character type in <productname>Postgres</productname>.
There is one other fixed-length character type in <productname>Postgres</productname>.
The <type>name</type> type
The <type>name</type> type exists <emphasis>only</emphasis> for
only has one purpose and that is for storage of internal catalog
storage of internal catalog names and
names.
is not intended for use by the general user.
It is not intended for use by the general user.
Its length is currently defined as 32 bytes (31 characters plus terminator)
Its length is currently defined as 32 bytes (31 characters plus terminator)
but should be reference using NAMEDATALEN.
but should be reference using NAMEDATALEN.
The length is set at compile time (and is therefore adjustable for
The length is set at compile time (and is therefore adjustable for
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment