Re: [INTERFACES] varchar() access - Mailing list pgsql-interfaces

From Byron Nikolaidis
Subject Re: [INTERFACES] varchar() access
Date
Msg-id 36B1CC96.7FF45553@insightdist.com
Whole thread Raw
In response to varchar() access  (markh@clockworkweb.com (Mark Himsley))
Responses Re: [INTERFACES] varchar() access
List pgsql-interfaces

Mark Himsley wrote:

> I thought Postgres had a limit of 8K? That's what it says in the docs...
>

Maybe, but the entire statement length also has a limit of 8K!   That's where I think it gets a little ridiculous to
tryand use in-line sql to 
send/retrieve data of these sizes.

The large object interface is perfect for this.  I am going to try to add LongVarChar/Large Object support to the
driversoon.  We will need two different 
data types now -- one for binary (already have "lo") and one for char (maybe "lo_char").

Byron



pgsql-interfaces by date:

Previous
From: Margarita Barvinok
Date:
Subject: Re: [INTERFACES] Use ecpg
Next
From: markh@clockworkweb.com (Mark Himsley)
Date:
Subject: Re: [INTERFACES] varchar() access