Re: where does postgres keep the query result until it is returned?

From: Willy-Bas Loos <willybas(at)gmail(dot)com>
To: Sam Mason <sam(at)samason(dot)me(dot)uk>
Cc: pgsql-general(at)postgresql(dot)org, tgl(at)sss(dot)pgh(dot)pa(dot)us, mmoncure(at)gmail(dot)com, sss(at)clearsenses(dot)com
Subject: Re: where does postgres keep the query result until it is returned?
Date: 2010-09-20 13:37:58
Message-ID: AANLkTimFm3fk6YtiqpBCvipt9wyUuceS4_WkXunoDVET@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Rows are sent back in the entireity, so the PG instance would need
> enough memory to work with that row.  When you're running a 32bit
> version of PG, values whose size is beyond ~100MB are a bit touch and go
> whether it will work.

?? I hear that it's posible to store up to a GiB as a value for a "text" field.
How would i possibly retrieve that data from the database?

It would be logical to use work_mem for this.. (IMHO)

Cheers,

Willy-Bas

--
"Patriotism is the conviction that your country is superior to all
others because you were born in it." -- George Bernard Shaw

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2010-09-20 13:44:02 Re: pg_relation_size / could not open relation with OID #
Previous Message Vick Khera 2010-09-20 12:47:27 Re: unexpected EOF on client connection