Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group