Search Postgresql Archives

Re: bytea field, a c function and pgcrypto driving me mad

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> ISTM that in this line:
> 
> keying = (text *)palloc( keylen + unamelen );
> 
> You forgot to include the length of the header VARHDRSZ.
> 

Aha, that'd be it, it's been a long day.

Thanks Martijn




-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux