best way to apply and work on the patches of the pg community

From: mahendrakar s <mahendrakarforpg(at)gmail(dot)com>
To: pgsql-novice <pgsql-novice(at)lists(dot)postgresql(dot)org>
Subject: best way to apply and work on the patches of the pg community
Date: 2022-07-15 15:33:04
Message-ID: CABkiuWpOj1XZokr3yhSD0DepyLXYa0JsZF3wyTtTmcPGGSapYQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hi Pg team,

I would like to work on a patch published on hackers community( patch is
from June, 2021). I cloned postgres code and tried to apply the patch and
got errors.

*patch -p1 < ../0001-auth-generalize-SASL-mechanisms.patch*
patching file src/backend/libpq/auth-scram.c
Hunk #1 FAILED at 101.
Hunk #2 FAILED at 170.
Hunk #3 FAILED at 199.
Hunk #4 FAILED at 215.
Hunk #5 FAILED at 325.

Can you please let me know what is the recommended way to apply the patches
for me to begin the work?

Thanks,
Mahendrakar.

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message David G. Johnston 2022-07-15 16:11:40 Re: best way to apply and work on the patches of the pg community
Previous Message Tom Lane 2022-07-04 03:45:57 Re: psql: error: could not connect to server: Connection refused