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

From: Glyn Astill <glynastill(at)yahoo(dot)co(dot)uk>
To: Martijn van Oosterhout <kleptog(at)svana(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: bytea field, a c function and pgcrypto driving me mad
Date: 2008-10-30 19:19:29
Message-ID: 878763.58321.qm@web23601.mail.ird.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Joao Ferreira gmail 2008-10-30 19:28:57 Re: speed up restore from dump
Previous Message Jason Long 2008-10-30 19:07:40 Re: Decreasing WAL size effects