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
0135cd88
Commit
0135cd88
authored
Sep 22, 2005
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add warning about DOMAINs.
David Fetter
parent
c79671bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
doc/src/sgml/ref/create_domain.sgml
doc/src/sgml/ref/create_domain.sgml
+8
-5
No files found.
doc/src/sgml/ref/create_domain.sgml
View file @
0135cd88
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/create_domain.sgml,v 1.2
2 2005/05/02 01:52:50 neilc
Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/create_domain.sgml,v 1.2
3 2005/09/22 23:56:46 momjian
Exp $
PostgreSQL documentation
-->
...
...
@@ -48,10 +48,13 @@ where <replaceable class="PARAMETER">constraint</replaceable> is:
</para>
<para>
Domains are useful for abstracting common fields between tables into
a single location for maintenance. For example, an email address column may be used
in several tables, all with the same properties. Define a domain and
use that rather than setting up each table's constraints individually.
Domains are useful for abstracting common fields between tables
into a single location for maintenance. For example, an email address
column may be used in several tables, all with the same properties.
Define a domain and use that rather than setting up each table's
constraints individually. <note>Keep in mind also that declaring a
function result value as a domain is pretty dangerous, because none of
the PLs enforce domain constraints on their results.</note>
</para>
</refsect1>
...
...
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