pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Clayton Cottingham <drfrog@smartt.com>
To: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Subject: out of memory error on dumping  over 1,000,000 to file
Date: Tue, 24 Aug 1999 10:00:08 +0000
Message-ID: <37C26D28.E0C908BF@smartt.com> (raw)

i keep gettin' out of memory errors when running this type of command on
my tables

psql database -c "select column1,column2 from table;" > 2columnsout

the reason im doing it this way is to just retrieve two columns, is
there as another way to do this ? i looked at the -o filename option,it
still produced the same error!?

possible something to add to pg_dump? the ability to dump certain
columns?







Message-ID: <37C26D28.E0C908BF@smartt.com>
Permalink:  ../37C26D28.E0C908BF@smartt.com/
Also on:    postgresql.org/message-id/37C26D28.E0C908BF@smartt.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: drfrog@smartt.com
  Subject: Re: out of memory error on dumping  over 1,000,000 to file
  In-Reply-To: <37C26D28.E0C908BF@smartt.com>
  References: <37C26D28.E0C908BF@smartt.com>

* 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