Error passing a byte[] to a postgresql c function.

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
Post Reply
alfrye
Posts: 16
Joined: Wed 05 May 2010 19:39

Error passing a byte[] to a postgresql c function.

Post by alfrye » Tue 23 Nov 2010 22:17

I have postgresql c function that accepts a parameter of type bytea,

In my app I am opening a binary file and reading it using stream.read and the trying to pass the byte [] to the function using the dotconnect for postgresql and I getting the following error .

zero-length delimited identifier at or near """"

I am also using the postgres to linq.

Thanks,
Alan

Shalex
Site Admin
Posts: 8247
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Wed 24 Nov 2010 15:14

dotConnect for PostgreSQL includes the PgSqlBlob class to work with binary data (its description also includes a sample)
http://www.devart.com/dotconnect/postgr ... lBlob.html.

If the problem persists, please send us a small test project with the DDL/DML script to reproduce the issue in our environment.

Post Reply