Re: C program Killed

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Patrick L(dot) Nolan" <pln(at)cosmic(dot)stanford(dot)edu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: C program Killed
Date: 2002-07-11 13:36:58
Message-ID: 16437.1026394618@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Patrick L. Nolan" <pln(at)cosmic(dot)stanford(dot)edu> writes:
> I practiced running it on a small table and everything
> was OK. When I switched to a large table, with 100
> times as many rows, the program ran for a while and
> then said
> Killed

My guess is you're running out of memory on the client side.
Consider using a cursor so you can read the data in units
smaller than 14M rows at a time ...

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2002-07-11 14:06:36 Re: workaround for lack of REPLACE() function
Previous Message Bruno Wolff III 2002-07-11 13:35:21 Re: inner join between database