public inbox for [email protected]
help / color / mirror / Atom feedFrom: mahendrakar s <[email protected]>
To: Alvaro Herrera <[email protected]>
Cc: pgsql-novice <[email protected]>
Subject: Re: best way to apply and work on the patches of the pg community
Date: Wed, 24 Aug 2022 20:49:45 +0530
Message-ID: <CABkiuWp+0LyukiTHaqhDy005UxUpomfjJR9Yt=pXbH4NKkCGnQ@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <CABkiuWpOj1XZokr3yhSD0DepyLXYa0JsZF3wyTtTmcPGGSapYQ@mail.gmail.com>
<[email protected]>
Thank you ...I followed the same approach.
Thanks,
Mahendrakar
On Wed, 24 Aug, 2022, 8:00 pm Alvaro Herrera, <[email protected]>
wrote:
> On 2022-Jul-15, mahendrakar s wrote:
>
> > 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.
>
> I would suggest to do a "git checkout" to a point in the tree near where
> the patch was posted, then do "patch -p1" or "git apply" or "git am",
> which is likely to work without conflict; then commit. Then you can
> merge to the tip of whatever branch it is, and you will get the
> conflicts then. It may be simpler to fix the conflicts there (with
> git's help).
>
> --
> Álvaro Herrera Breisgau, Deutschland —
> https://www.EnterpriseDB.com/
> "En las profundidades de nuestro inconsciente hay una obsesiva necesidad
> de un universo lógico y coherente. Pero el universo real se halla siempre
> un paso más allá de la lógica" (Irulan)
>
view thread (5+ messages)
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: best way to apply and work on the patches of the pg community
In-Reply-To: <CABkiuWp+0LyukiTHaqhDy005UxUpomfjJR9Yt=pXbH4NKkCGnQ@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox