From: Ludek Finstrle <luf@pzkagis.cz>
To: 王宝兵 <wbbwisdom@163.com>
Cc: postgresql odbc <pgsql-odbc@postgresql.org>
Subject: Re: Does psqlodbc support declare/fetch in Un ux?
Date: Thu, 20 Jul 2006 09:09:53 +0200
Message-ID: <20060720070953.GA3797@soptik.pzkagis.cz> (raw)
In-Reply-To: <44BDD4DA.00002E.05831@bj163app24.163.com>
References: <44BDD4DA.00002E.05831@bj163app24.163.com>
> There are 1532240 tuples in pg_largeobject, and their size is about
> 3GB. But where I run this code, the client's main memory is exhausted.
> It seems that the client try to get all the tuples before it fetches
> the first 100.
>
> What's wrong? How can I fixed it?
What connection string? What's the settings in odbc.ini?
The first question is if you are using declare/fetch.
Could you send us the mylog output?
Regards,
Luf
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-odbc@postgresql.org
Cc: luf@pzkagis.cz, wbbwisdom@163.com
Subject: Re: Does psqlodbc support declare/fetch in Un ux?
In-Reply-To: <20060720070953.GA3797@soptik.pzkagis.cz>
References: <44BDD4DA.00002E.05831@bj163app24.163.com> <20060720070953.GA3797@soptik.pzkagis.cz>
* 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