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: Fri, 28 Feb 2003 10:34:41 +0100
Message-ID: <3E5F2D30.1F27A69F@rodos.fzk.de> (raw)

>
> I've got *very* limited HDD space for the amount of information I need
to
> copy out.  The place to where the CSV file is would be output is NTFS
and
> from the Postgres documentation, it states that I should not put the
table
> oid files there and link in order to free up space in the default
drive.
>
> I've tried using \o to stream the output to a file on the NTFS area,
but the
> machine ran out of memory (memory = 2G).
Are you using PgAccess? Did you think about using psql, possibly via
script?
I can hardly imagine psql would run a 2G machine out of memory.
>
> I was looking for a work around to copy out the section of data I
wanted to
> a temporary table and then copy that table out .....
Using \o FILENAME within psql does not even require a temp table,
because
query results are simply sent to FILENAME.
>
Or did I misunderstand your intentions completely?

Regards, Christoph





view thread (6+ messages)  latest in thread

Message-ID: <3E5F2D30.1F27A69F@rodos.fzk.de>
Permalink:  ../3E5F2D30.1F27A69F@rodos.fzk.de/
Also on:    postgresql.org/message-id/3E5F2D30.1F27A69F@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: <3E5F2D30.1F27A69F@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