Re: Out of memory error

Поиск
Список
Период
Сортировка
От Clodoaldo Pinto
Тема Re: Out of memory error
Дата
Msg-id a595de7a050207140541451d80@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Out of memory error  ("Joshua D. Drake" <jd@commandprompt.com>)
Ответы Re: Out of memory error
Re: Out of memory error
Список pgsql-general
On Mon, 07 Feb 2005 13:51:46 -0800, Joshua D. Drake
<jd@commandprompt.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.

В списке pgsql-general по дате отправления:

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: PHP/PDO Database Abstraction Layer
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Use of indexes with table inheritance