mirror of
https://github.com/postgres/postgres.git
synced 2025-06-11 20:28:21 +03:00
Remove extra <para>
This commit is contained in:
@ -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
|
PostgreSQL documentation
|
||||||
-->
|
-->
|
||||||
|
|
||||||
@ -708,6 +708,18 @@ COPY country FROM '/usr1/proj/bray/sql/country_data';
|
|||||||
</programlisting>
|
</programlisting>
|
||||||
</para>
|
</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>
|
<para>
|
||||||
Here is a sample of data suitable for copying into a table from
|
Here is a sample of data suitable for copying into a table from
|
||||||
<literal>STDIN</literal>:
|
<literal>STDIN</literal>:
|
||||||
|
Reference in New Issue
Block a user