[fpc-devel] PostgreSQL 8.4.5 Ubuntu 10.10 x64 and bytea=blobs up to 1 gigabyte

Martin Schreiber mse00000 at gmail.com
Sat Oct 23 13:31:39 CEST 2010


On Saturday, 23. October 2010 13.11:01 Michael Van Canneyt wrote:
> On Fri, 22 Oct 2010, Andrew Brunner wrote:
> > Looking to get some resolution to an immediate problem with postgres
> > component I have...
> >
> > Field definitions for blob can be mapped to bytea and enable support
> > for blob data as I am pretty sure byte for byte output/input would
> > suffice.  Some debugging may be needed to make sure we don't need
> > escape/unescape on string literals.  I'm hoping for a quick fix.
>
> I committed a fix in 16203, please test.
>
Please don't forget to mark bytea parameters as binary or use hex notation, 
otherwise the data probably will be cut by the first zero or even not 
accepted because of encoding errors.

Martin



More information about the fpc-devel mailing list