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
7bbe35a5
Commit
7bbe35a5
authored
18 years ago
by
Tom Lane
Browse files
Options
Downloads
Patches
Plain Diff
Add an example showing how to cope with mixed-case names in pg_dump
switches.
parent
765cc158
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/src/sgml/ref/pg_dump.sgml
+15
-1
15 additions, 1 deletion
doc/src/sgml/ref/pg_dump.sgml
with
15 additions
and
1 deletion
doc/src/sgml/ref/pg_dump.sgml
+
15
−
1
View file @
7bbe35a5
<!--
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/pg_dump.sgml,v 1.9
1
2006/1
0
/2
3 18:10:32 petere
Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/pg_dump.sgml,v 1.9
2
2006/1
1
/2
8 22:54:18 tgl
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -838,6 +838,20 @@ CREATE DATABASE foo WITH TEMPLATE template0;
...
@@ -838,6 +838,20 @@ CREATE DATABASE foo WITH TEMPLATE template0;
<screen>
<screen>
<prompt>$</prompt> <userinput>pg_dump -T 'ts_*' mydb > db.sql</userinput>
<prompt>$</prompt> <userinput>pg_dump -T 'ts_*' mydb > db.sql</userinput>
</screen>
</para>
<para>
To specify an upper-case or mixed-case name in <option>-t</> and related
switches, you need to double-quote the name; else it will be folded to
lower case (see <xref
linkend="APP-PSQL-patterns" endterm="APP-PSQL-patterns-title">). But
double quotes are special to the shell, so in turn they must be quoted.
Thus, to dump a single table with a mixed-case name, you need something
like
<screen>
<prompt>$</prompt> <userinput>pg_dump -t '"MixedCaseName"' mydb > mytab.sql</userinput>
</screen>
</screen>
</para>
</para>
...
...
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