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
854b5eb5
Commit
854b5eb5
authored
15 years ago
by
Tom Lane
Browse files
Options
Downloads
Patches
Plain Diff
Improve COPY documentation to clarify that it doesn't copy data to or from
child tables. Per gripe from Jaime Casanova.
parent
b1bc2f04
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/ref/copy.sgml
+11
-1
11 additions, 1 deletion
doc/src/sgml/ref/copy.sgml
with
11 additions
and
1 deletion
doc/src/sgml/ref/copy.sgml
+
11
−
1
View file @
854b5eb5
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/copy.sgml,v 1.9
7
2010/04/
23 23:21:43 rhaas
Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/copy.sgml,v 1.9
8
2010/04/
30 19:49:06 tgl
Exp $
PostgreSQL documentation
-->
...
...
@@ -308,6 +308,16 @@ COPY <replaceable class="parameter">count</replaceable>
<replaceable class="parameter">viewname</replaceable>) TO ...</literal>.
</para>
<para>
<command>COPY</command> only deals with the specific table named;
it does not copy data to or from child tables. Thus for example
<literal>COPY <replaceable class="parameter">table</> TO</literal>
shows the same data as <literal>SELECT * FROM ONLY <replaceable
class="parameter">table</></literal>. But <literal>COPY
(SELECT * FROM <replaceable class="parameter">table</>) TO ...</literal>
can be used to dump all of the data in an inheritance hierarchy.
</para>
<para>
You must have select privilege on the table
whose values are read by <command>COPY TO</command>, and
...
...
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