Remove extra <para>
This commit is contained in:
parent
249f07b8c6
commit
3d50e107ad
@ -1,5 +1,5 @@
|
||||
<!--
|
||||
$PostgreSQL: pgsql/doc/src/sgml/ref/copy.sgml,v 1.67 2005/09/05 14:44:05 adunstan Exp $
|
||||
$PostgreSQL: pgsql/doc/src/sgml/ref/copy.sgml,v 1.68 2005/10/13 02:00:09 momjian Exp $
|
||||
PostgreSQL documentation
|
||||
-->
|
||||
|
||||
@ -708,6 +708,18 @@ COPY country FROM '/usr1/proj/bray/sql/country_data';
|
||||
</programlisting>
|
||||
</para>
|
||||
|
||||
<para>
|
||||
To copy into a file just the countries whose names start with 'A'
|
||||
using a temporary table which is automatically deleted:
|
||||
<programlisting>
|
||||
BEGIN;
|
||||
CREATE TEMP TABLE a_list_COUNTRIES AS
|
||||
SELECT * FROM country WHERE country_name LIKE 'A%';
|
||||
COPY a_list_countries TO '/usr1/proj/bray/sql/a_list_countries.copy';
|
||||
ROLLBACK;
|
||||
</programlisting>
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Here is a sample of data suitable for copying into a table from
|
||||
<literal>STDIN</literal>:
|
||||
|
Loading…
x
Reference in New Issue
Block a user