Re: [HACKERS] [PROTOCOL TODO] Permit streaming of unknown-length lob/clob (bytea,text,etc)

2014-12-01 Thread Tom Lane
Craig Ringer writes: > Currently the client must know the size of a large lob/clob field, like > a 'bytea' or 'text' field, in order to send it to the server. This can > force the client to buffer all the data before sending it to the server. > It would be helpful if the v4 protocol permitted the

Re: [HACKERS] [PROTOCOL TODO] Permit streaming of unknown-length lob/clob (bytea,text,etc)

2014-12-01 Thread Craig Ringer
On 12/01/2014 10:38 PM, David Fetter wrote: > On Mon, Dec 01, 2014 at 02:55:22PM +0800, Craig Ringer wrote: >> Hi all >> >> Currently the client must know the size of a large lob/clob field, like >> a 'bytea' or 'text' field, in order to send it to the server. This can >> force the client to buffer

Re: [HACKERS] [PROTOCOL TODO] Permit streaming of unknown-length lob/clob (bytea,text,etc)

2014-12-01 Thread David Fetter
On Mon, Dec 01, 2014 at 02:55:22PM +0800, Craig Ringer wrote: > Hi all > > Currently the client must know the size of a large lob/clob field, like > a 'bytea' or 'text' field, in order to send it to the server. This can > force the client to buffer all the data before sending it to the server. Ye