Re: Programming error: Out of Memory

Поиск
Список
Период
Сортировка
От Jorge Arévalo
Тема Re: Programming error: Out of Memory
Дата
Msg-id AANLkTinWvV3-MpK3Qumc2z=g=rWWScjgCN1Tb_wyDw5w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Programming error: Out of Memory  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Programming error: Out of Memory  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Wed, Nov 17, 2010 at 1:00 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> =?ISO-8859-1?Q?Jorge_Ar=E9valo?= <jorge.arevalo@deimos-space.com> writes:
>> Well, the query works if executed in psql client. Seems to be a Python
>> problem. I'll execute the rest of the loop queries in the client, just
>> in case.
>
>> But in case is a Python problem, why does it affect the postgres
>> process, causing a crash?
>
> Is the query parameterized when issued from Python?  If so it might work
> differently.
>
>                        regards, tom lane
>

Yes, it takes the table names from another query (select table_names
from other_table), and the fields names from a XML file. Can the query
which fetch the table names cause a memory problem? Seems weird

--
Jorge Arévalo
Internet & Mobilty Division, DEIMOS
jorge.arevalo@deimos-space.com
http://mobility.grupodeimos.com/
http://gis4free.wordpress.com

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Programming error: Out of Memory
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Programming error: Out of Memory