Skip to content

Commit 3d50e10

Browse files
committed
Remove extra <para>
1 parent 249f07b commit 3d50e10

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

doc/src/sgml/ref/copy.sgml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/copy.sgml,v 1.67 2005/09/05 14:44:05 adunstan Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/copy.sgml,v 1.68 2005/10/13 02:00:09 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -708,6 +708,18 @@ COPY country FROM '/usr1/proj/bray/sql/country_data';
708708
</programlisting>
709709
</para>
710710

711+
<para>
712+
To copy into a file just the countries whose names start with 'A'
713+
using a temporary table which is automatically deleted:
714+
<programlisting>
715+
BEGIN;
716+
CREATE TEMP TABLE a_list_COUNTRIES AS
717+
SELECT * FROM country WHERE country_name LIKE 'A%';
718+
COPY a_list_countries TO '/usr1/proj/bray/sql/a_list_countries.copy';
719+
ROLLBACK;
720+
</programlisting>
721+
</para>
722+
711723
<para>
712724
Here is a sample of data suitable for copying into a table from
713725
<literal>STDIN</literal>:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy