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
0135cd88
Commit
0135cd88
authored
19 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Add warning about DOMAINs.
David Fetter
parent
c79671bd
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/src/sgml/ref/create_domain.sgml
+8
-5
8 additions, 5 deletions
doc/src/sgml/ref/create_domain.sgml
with
8 additions
and
5 deletions
doc/src/sgml/ref/create_domain.sgml
+
8
−
5
View file @
0135cd88
<!--
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/create_domain.sgml,v 1.2
2
2005/0
5/02 01:52:50 neilc
Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/create_domain.sgml,v 1.2
3
2005/0
9/22 23:56:46 momjian
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -48,10 +48,13 @@ where <replaceable class="PARAMETER">constraint</replaceable> is:
...
@@ -48,10 +48,13 @@ where <replaceable class="PARAMETER">constraint</replaceable> is:
</para>
</para>
<para>
<para>
Domains are useful for abstracting common fields between tables into
Domains are useful for abstracting common fields between tables
a single location for maintenance. For example, an email address column may be used
into a single location for maintenance. For example, an email address
in several tables, all with the same properties. Define a domain and
column may be used in several tables, all with the same properties.
use that rather than setting up each table's constraints individually.
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>
</para>
</refsect1>
</refsect1>
...
...
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