Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
cdd43793
Commit
cdd43793
authored
Oct 13, 2001
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update FAQ.
parent
08180738
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
+14
-2
doc/FAQ
doc/FAQ
+7
-1
doc/src/FAQ/FAQ.html
doc/src/FAQ/FAQ.html
+7
-1
No files found.
doc/FAQ
View file @
cdd43793
Frequently Asked Questions (FAQ) for PostgreSQL
Last updated:
Sat Sep 22 20:07:41
EDT 2001
Last updated:
Fri Oct 12 21:32:36
EDT 2001
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
...
...
@@ -790,6 +790,12 @@ BYTEA bytea variable-length byte array (null-safe)
data types are also subject to compression or being stored out-of-line
by TOAST, so the space on disk might also be less than expected.
CHAR() is best when storing strings that are usually the same length.
VARCHAR() is best when storing variable-length strings, but you want
to limit how long a string can be. TEXT is for strings of unlimited
length, maximum 1 gigabyte. BYTEA is for storing binary data,
particularly values that include NULL bytes.
4.16.1) How do I create a serial/auto-incrementing field?
PostgreSQL supports a SERIAL data type. It auto-creates a sequence and
...
...
doc/src/FAQ/FAQ.html
View file @
cdd43793
...
...
@@ -12,7 +12,7 @@
alink=
"#0000FF"
>
<H1>
Frequently Asked Questions (FAQ) for PostgreSQL
</H1>
<P>
Last updated:
Sat Sep 22 20:07:41
EDT 2001
</P>
<P>
Last updated:
Fri Oct 12 21:32:36
EDT 2001
</P>
<P>
Current maintainer: Bruce Momjian (
<A
href=
"mailto:pgman@candle.pha.pa.us"
>
pgman@candle.pha.pa.us
</A>
)
<BR>
...
...
@@ -1003,6 +1003,12 @@ BYTEA bytea variable-length byte array (null-safe)
stored out-of-line by
<SMALL>
TOAST
</SMALL>
, so the space on disk
might also be less than expected.
</P>
<P>
CHAR() is best when storing strings that are usually the
same length. VARCHAR() is best when storing variable-length strings,
but you want to limit how long a string can be. TEXT is for strings
of unlimited length, maximum 1 gigabyte. BYTEA is for storing
binary data, particularly values that include NULL bytes.
</P>
<H4><A
name=
"4.16.1"
>
4.16.1
</A>
) How do I create a
serial/auto-incrementing field?
</H4>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment