Re: COPY example for partial tables - Mailing list pgsql-docs

From David Fetter
Subject Re: COPY example for partial tables
Date
Msg-id 20051013212655.GC4489@fetter.org
Whole thread Raw
In response to Re: COPY example for partial tables  (Neil Conway <neilc@samurai.com>)
List pgsql-docs
On Thu, Oct 13, 2005 at 12:08:51AM -0400, Neil Conway wrote:
> On Wed, 2005-12-10 at 10:55 -0400, Bruce Momjian wrote:
> >     <para>
> > +    To copy into a file just the countries whose names start with 'A'
> > +    using a temporary table which is automatically deleted:
> > +   </para>
> > + <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>
>
> The capitalization of "a_list_countries" is inconsistent -- both
> references should all be in lowercase, IMO.

Good catch :)

Cheers,
D
--
David Fetter david@fetter.org http://fetter.org/
phone: +1 510 893 6100   mobile: +1 415 235 3778

Remember to vote!

pgsql-docs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [pgsql-www] Typo in README.dist-split
Next
From: "Jim C. Nasby"
Date:
Subject: Lazy vacuum space reclaiming