Page 1 of 1

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

Posted: Tue 23 Nov 2010 22:17
by alfrye
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

Posted: Wed 24 Nov 2010 15:14
by Shalex
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.