Re: bytea field, a c function and pgcrypto driving me mad - Mailing list pgsql-general

From Glyn Astill
Subject Re: bytea field, a c function and pgcrypto driving me mad
Date
Msg-id 878763.58321.qm@web23601.mail.ird.yahoo.com
Whole thread Raw
In response to Re: bytea field, a c function and pgcrypto driving me mad  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-general
> 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




pgsql-general by date:

Previous
From: Greg Smith
Date:
Subject: Re: Decreasing WAL size effects
Next
From: Joao Ferreira gmail
Date:
Subject: Re: speed up restore from dump