Re: where does postgres keep the query result until it is returned? - Mailing list pgsql-general

From Willy-Bas Loos
Subject Re: where does postgres keep the query result until it is returned?
Date
Msg-id AANLkTimFm3fk6YtiqpBCvipt9wyUuceS4_WkXunoDVET@mail.gmail.com
Whole thread Raw
In response to Re: where does postgres keep the query result until it is returned?  (Sam Mason <sam@samason.me.uk>)
Responses Re: where does postgres keep the query result until it is returned?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: where does postgres keep the query result until it is returned?  (Karsten Hilbert <Karsten.Hilbert@gmx.net>)
List 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

pgsql-general by date:

Previous
From: Adrien Kunysz
Date:
Subject: Re: Getting FATAL: terminating connection due to administrator command
Next
From: Tom Lane
Date:
Subject: Re: pg_relation_size / could not open relation with OID #