Re: Consistent error reporting for encryption/decryption in pgcrypto

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Georgios Kokolatos <gkokolatos(at)protonmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Consistent error reporting for encryption/decryption in pgcrypto
Date: 2020-10-31 20:40:12
Message-ID: E338DE8C-8DB4-4FD6-B3C7-B3037166FB6D@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 31 Oct 2020, at 02:03, Michael Paquier <michael(at)paquier(dot)xyz> wrote:

> It seems to me that you are just missing to declare a new error number
> in px.h, so I would suggest to just use -19.

Ah yes, I accidentally fat-fingered the git add -p when splitting up the NSS
patch into bite size pieces. Sorry about that. The attached v2 has the error
declaration.

cheers ./daniel

Attachment Content-Type Size
v2-0001-Use-a-more-descriptive-error-for-failed-encryptio.patch application/octet-stream 1.9 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Justin Pryzby 2020-10-31 21:34:44 Re: Additional Chapter for Tutorial
Previous Message Konstantin Knizhnik 2020-10-31 19:08:45 Re: libpq compression