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

Поиск
Список
Период
Сортировка
От Glyn Astill
Тема Re: bytea field, a c function and pgcrypto driving me mad
Дата
Msg-id 878763.58321.qm@web23601.mail.ird.yahoo.com
обсуждение исходный текст
Ответ на Re: bytea field, a c function and pgcrypto driving me mad  (Martijn van Oosterhout <kleptog@svana.org>)
Список 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 по дате отправления:

Предыдущее
От: Greg Smith
Дата:
Сообщение: Re: Decreasing WAL size effects
Следующее
От: Joao Ferreira gmail
Дата:
Сообщение: Re: speed up restore from dump