Re: Out of memory error

From: Clodoaldo Pinto <clodoaldo(dot)pinto(at)gmail(dot)com>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
Cc: postgres general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Out of memory error
Date: 2005-02-07 22:05:23
Message-ID: a595de7a050207140541451d80@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 07 Feb 2005 13:51:46 -0800, Joshua D. Drake
<jd(at)commandprompt(dot)com> wrote:

> Well your first email didn't explain that you were doing the below :)

In the first email I was not doing the insert. I was executing a psql script:

$ psql -e -f groupdup.psql ks2

This was the groupdup.psql script:

\pset format unaligned
\pset fieldsep '\t'
\pset tuples_only
\o '/KakaoStats/bak/groupdup.txt'
select
data,
usuario,
sum(pontos),
sum(wus)
from usuarios
group by data, usuario
;
\o
\pset tuples_only
\pset format aligned

I was planning to insert the file with copy from.

> Is this the entire function?

Yes, it is the entire function.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Noah Friedland 2005-02-07 22:10:32 External Projects in the PostgreSQL release
Previous Message Bruno Wolff III 2005-02-07 22:04:50 Re: Sorting when "*" is the initial character