Re: [PATCH] pglister: auth_receive: Indicate when PGAUTH_KEY is invalid instead of crashing

From: Célestin Matte <celestin(dot)matte(at)cmatte(dot)me>
To: pgsql-www(at)lists(dot)postgresql(dot)org
Subject: Re: [PATCH] pglister: auth_receive: Indicate when PGAUTH_KEY is invalid instead of crashing
Date: 2023-02-20 18:36:47
Message-ID: b0dec1df-3828-8c17-f77e-08bf3317787d@cmatte.me
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

Update: attached patched also catch ValueError exceptions, which can happen as well.

Also attaching similar patch for pgarchives.

As being confused by the lack of error message happened to me again, I think these patches are useful.
--
Célestin Matte

Attachment Content-Type Size
0001-auth_receive-Indicate-when-PGAUTH_KEY-is-invalid-ins_pglister.patch text/x-patch 1.3 KB
0001-Indicate-when-PGAUTH_KEY-is-invalid-instead-of-crash_pgarchives.patch text/x-patch 1.3 KB

In response to

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Célestin Matte 2023-02-21 16:49:05 Re: [PATCHES] pgarchives: merge schema.sql into Django's model
Previous Message SAS 2023-02-17 08:49:45 Re: Wiki editor request