pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Haller <ch@rodos.fzk.de>
To: pgsql-sql@postgresql.org
Cc: val@webtribe.net
Subject: Re: Copy from a SELECT
Date: Thu, 27 Feb 2003 13:44:44 +0100
Message-ID: <3E5E083C.AA3C60CB@rodos.fzk.de> (raw)

>
> I know that the COPY command requires that you work with plain
> tables.
>
> Is there any other way at all of export only part of a table
>
What about
CREATE [ possibly TEMPORARY ]TABLE table_name AS <your-query>
and then COPY ...

Regards, Christoph





view thread (6+ messages)  latest in thread

Message-ID: <3E5E083C.AA3C60CB@rodos.fzk.de>
Permalink:  ../3E5E083C.AA3C60CB@rodos.fzk.de/
Also on:    postgresql.org/message-id/3E5E083C.AA3C60CB@rodos.fzk.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: ch@rodos.fzk.de, val@webtribe.net
  Subject: Re: Copy from a SELECT
  In-Reply-To: <3E5E083C.AA3C60CB@rodos.fzk.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox