Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oCNJk-0003un-T7 for pgsql-novice@arkaria.postgresql.org; Fri, 15 Jul 2022 15:33:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oCNJj-00007W-Ie for pgsql-novice@arkaria.postgresql.org; Fri, 15 Jul 2022 15:33:23 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oCNJj-00006J-7s for pgsql-novice@lists.postgresql.org; Fri, 15 Jul 2022 15:33:23 +0000 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oCNJc-0005LV-RF for pgsql-novice@lists.postgresql.org; Fri, 15 Jul 2022 15:33:22 +0000 Received: by mail-pf1-x435.google.com with SMTP id c3so4029781pfb.13 for ; Fri, 15 Jul 2022 08:33:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=f7zSUD29tf/4ccSK9rcGyzoGOUaJhlakpZsOadaYkik=; b=qLvbIBOlnonEqS0+DABkMZUvz27x1Zx+Ggcf+Z2th7I4mysP2UEzFPiB27A/Jn3NsO 1oNNOGSYV8fkhhKtZ3H7gwcdx2NJ8RUGzfLTu+TRMcNJC83jOcnWvaylkZ1XasyTt4Yg 4+/L0WVKixsr1UA0x6K1axgd0hKxOhaSvHIzSQXC34gzG696dcwMsrBcKwcbReka+QHy zOkFr1mXEn6IIuLc9eOslozBU9xF6Y7uAuaSjffhi3cbjxJIBo7f9MfyJwd23tPGW8/s qdBRWu00wsmh5G5+IWG45lKsMYSsC1uN+tF4uPm+/xzNjIgYIPr7cuWTvi363pyYRlhk 8FxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=f7zSUD29tf/4ccSK9rcGyzoGOUaJhlakpZsOadaYkik=; b=yBZDq+r53HCC3wHT6BuFwkiDESfnG6HTNaPJlF6V0+V+cTsFVk3oP7HUVQY4dimBfR i5FZYR5mSPcTxgy/yP3+aXBJse4Ph/2J/kNQR7w7lO6hMoXHw7bmtcrM8FZZ186xGdZL q0W3fgW6d5BxWFPeYbRduMj/FM5hW7mwoNDfOt8BxekkJHQZNvBGT7d88c+KbeEFQvzX +TxVMYMWS+c5dELexKkBTWy5sLfbuSqIPJtbkeQXqPLTlPzUp1SyI3CKSV1dSFJwsFft JQ8GuELdsS+C1EkP7X761nxahQg0Jqzw3qitCPTBbkoON+vagOFMqAgoEdnEihi+Q/v+ tlTw== X-Gm-Message-State: AJIora+/U9KttO1IRyWm/Br1I2Dt9Vf+FT1upOtf9XdqdDm+/b+cBOFv NiqKVsAXxMe7PshesWzj9y6wkq0WpvQFzPWYGfdbTlP6LSw= X-Google-Smtp-Source: AGRyM1utK/7QvkptqCeBDaqw3aKD+guRJ5TyuYzrKnM3uKnb2wecquSajFgdrU5V51rBeY8XoHH+S86RvqNXiyZnmaM= X-Received: by 2002:a63:1923:0:b0:419:b27c:7acf with SMTP id z35-20020a631923000000b00419b27c7acfmr7745074pgl.449.1657899195454; Fri, 15 Jul 2022 08:33:15 -0700 (PDT) MIME-Version: 1.0 From: mahendrakar s Date: Fri, 15 Jul 2022 21:03:04 +0530 Message-ID: Subject: best way to apply and work on the patches of the pg community To: pgsql-novice Content-Type: multipart/alternative; boundary="0000000000009e5af105e3d9bce8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000009e5af105e3d9bce8 Content-Type: text/plain; charset="UTF-8" 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. --0000000000009e5af105e3d9bce8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Pg team,

I would li= ke to work on a patch published on hackers community( patch is from June, 2= 021). I cloned postgres code and tried to=C2=A0 apply the patch and got err= ors.

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

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

Thanks,
Mahendrakar.

--0000000000009e5af105e3d9bce8--