Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qq5kL-0088GF-Ic for pgsql-hackers@arkaria.postgresql.org; Tue, 10 Oct 2023 05:57:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qq5kJ-004GaJ-D8 for pgsql-hackers@arkaria.postgresql.org; Tue, 10 Oct 2023 05:57:32 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qq5kJ-004GZu-2N for pgsql-hackers@lists.postgresql.org; Tue, 10 Oct 2023 05:57:32 +0000 Received: from mail-ua1-x931.google.com ([2607:f8b0:4864:20::931]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1qq5kH-001Ehz-Ct for pgsql-hackers@postgresql.org; Tue, 10 Oct 2023 05:57:31 +0000 Received: by mail-ua1-x931.google.com with SMTP id a1e0cc1a2514c-7b07548b084so1638686241.1 for ; Mon, 09 Oct 2023 22:57:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; t=1696917446; x=1697522246; darn=postgresql.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=NXAfx1Wawu55JZ0Rq0fOCT47jLdoHnpOG5QofGca2Fs=; b=dfm6BfP3eiTu6k6FjQqH1o7AFdQidO03LIA46T//83R4FFFCx51+Fblts71kZ6Bh1W idr3rHLS2vPYIjs1iX2xU1ak753QImoUkHTP+19v32mENg1ZyLxCL+M3RPVC5DCLe7td tdLX6qwTUWYyqloXr61xjdhc00ZtdKgvbP7h6+hvZm8ktT87UX9E1XeJ0w11jjfM4pWc ue7I4ItUkNDzFaou900Zdft25jkxqTkdGL4K3qyvfqZDo170kiUl1r4pFtTesApytSo2 Mpknkz/4aYW/la/upyA6YamH2FA6cjMFMPIWOqQW5GI5PqwChjHAr4pvQoyvkvFzarGe Nx1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696917446; x=1697522246; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=NXAfx1Wawu55JZ0Rq0fOCT47jLdoHnpOG5QofGca2Fs=; b=Wo8M655XUDuEay9PTc0JvTzjuFCylqdNaN8B1cfWKoZ6BZzhHqTZVTrrA47C2UmWcl X+WiKEi6QQD3QffRSd2N82AK3MPdlzLQGeDOKh+tz8YZoI29ktCXsAD7aL+vnsSNXkUN uswYVFDy43yTHGDbPR1/iHh5kek7W1yBPaiaETE/5Dwk6p6h8rCwq0dPtdFw6HQVYdLL kjvJ5vEbwV3pyZSwm0ywHK+dDVMSn7qqvQbYJta9cWep58hUE7Ci/QbXUxtTtfr5pvly 6pwErplOnBXAH5t9jYI8U64rSdSRBwf7uQ9UZtIzs8UkDh3PT/B4Ryh42v4SgBqV871h 4NDA== X-Gm-Message-State: AOJu0Yy7Q8Ir09CQtM1z/3tCXTKWFmEhg2s5tfuqFhskCDd8OSu6ejVu fUvvpMYID2heK9ZPvN2381fN18DeI5UjCUBZcuxWp9Nq9PEHJyQ/ X-Google-Smtp-Source: AGHT+IGW2oYqGWq7QR0g6AjLdLPAwQl1k3eBika+lYN4CHvvam132qK4RW8SERwX9vQvU04HoIYJ++yDge3kdtsq/OI= X-Received: by 2002:a67:f4d3:0:b0:452:66a7:1ac with SMTP id s19-20020a67f4d3000000b0045266a701acmr15495220vsn.6.1696917445854; Mon, 09 Oct 2023 22:57:25 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Nishant Sharma Date: Tue, 10 Oct 2023 11:27:14 +0530 Message-ID: Subject: Re: [Code Cleanup] : Small code cleanup in twophase.sql To: pgsql-hackers@postgresql.org Content-Type: multipart/alternative; boundary="00000000000092e84006075661d0" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000092e84006075661d0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, Any taker or rejector for above? -- It's a very small 'good to have' change patch for cleanup. Thanks, Nishant (EDB). On Tue, Sep 26, 2023 at 6:31=E2=80=AFPM Nishant Sharma < nishant.sharma@enterprisedb.com> wrote: > Hi, > > > PFA small code cleanup in twophase.sql. Which contains a drop table > statement for 'test_prepared_savepoint'. Which, to me, appears to be > missing in the cleanup section of that file. > > To support it I have below points:- > > 1) Grepping this table 'test_prepared_savepoint' shows occurrences > only in twophase.out & twophase.sql files. This means that table is > local to that sql test file and not used in any other test file. > > 2) I don't see any comment on why this was not added in the cleanup > section of twophase.sql, but drop for other two test tables are done. > > 3) I ran "make check-world" with the patch and I don't see any failures. > > Kindly correct, if I missed anything. > > > Regards, > Nishant (EDB). > --00000000000092e84006075661d0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

Any taker or rejector for above= ? -- It's a very small 'good to have' change patch for cleanup.=

Thanks,
Nishant (EDB).

<= div class=3D"gmail_quote">
On Tue, Sep= 26, 2023 at 6:31=E2=80=AFPM Nishant Sharma <nishant.sharma@enterprisedb.com> wrote:
<= /div>
Hi,=


PFA small code cleanup in twophase.sql. = Which contains a drop table
statement for 'test_prepared_save= point'. Which, to me, appears to be
missing in the cleanup se= ction of that file.

To support it I have below poi= nts:-

1) Grepping this table 'test_prepared_sa= vepoint' shows occurrences
only in twophase.out & twophas= e.sql files. This means that table is
local to that sql test file= and not used in any other test file.

2) I don'= ;t see any comment on why this was not added in the cleanup
secti= on of twophase.sql, but drop for other two test tables are done.
=
3) I ran "make=C2=A0check-world" with the patch an= d I don't=C2=A0see any failures.

Kindly correc= t, if I missed anything.


Regards,
Nishant (EDB).
--00000000000092e84006075661d0--