Re: Segmentation fault using digest from pg_crypto - Mailing list pgsql-hackers

From Manuel Sugawara
Subject Re: Segmentation fault using digest from pg_crypto
Date
Msg-id m3ps1dzr4u.fsf@conexa.fciencias.unam.mx
Whole thread Raw
In response to Segmentation fault using digest from pg_crypto  (Manuel Sugawara <masm@fciencias.unam.mx>)
Responses Re: Segmentation fault using digest from pg_crypto
Re: Segmentation fault using digest from pg_crypto
List pgsql-hackers
Manuel Sugawara <masm@fciencias.unam.mx> writes:

> Hi,
>
> I have a simple query that uses digest(data, 'sha1') and consistently
> crashes the backend

The problem is with null arguments:

ciencias=# select digest(null, 'sha1');
el servidor ha cerrado la conexión inesperadamente,       probablemente porque terminó de manera anormal       antes o
duranteel procesamiento de la petición. 
La conexión al servidor se ha perdido. Intentando reiniciar: falló.
!>

Regards,
Manuel.


pgsql-hackers by date:

Previous
From: Manuel Sugawara
Date:
Subject: Segmentation fault using digest from pg_crypto
Next
From: Tom Lane
Date:
Subject: Re: SQL feature requests