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 1teeze-00Etjg-Dk for pgsql-hackers@arkaria.postgresql.org; Sun, 02 Feb 2025 18:46:55 +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 1teezb-0082pH-Sn for pgsql-hackers@arkaria.postgresql.org; Sun, 02 Feb 2025 18:46:51 +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 1teezb-0082p9-I8 for pgsql-hackers@lists.postgresql.org; Sun, 02 Feb 2025 18:46:51 +0000 Received: from forward100a.mail.yandex.net ([178.154.239.83]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1teezY-002uMK-11 for pgsql-hackers@postgresql.org; Sun, 02 Feb 2025 18:46:51 +0000 Received: from mail-nwsmtp-smtp-production-main-54.iva.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-54.iva.yp-c.yandex.net [IPv6:2a02:6b8:c0c:9b22:0:640:c41d:0]) by forward100a.mail.yandex.net (Yandex) with ESMTPS id 4D5B446D07 for ; Sun, 2 Feb 2025 21:46:47 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-54.iva.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id PknM0jBOeOs0-QpC40asp; Sun, 02 Feb 2025 21:46:46 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tantorlabs.com; s=mail; t=1738522006; bh=4UPCfWOPfCLqDoo0yMkprtxcmmsRYdetWgJOwbcxhyc=; h=Subject:To:Message-ID:Date:From; b=XK0oNyJWy5hrMaXhitBy6O7DtkScaY2hXQpApGn4bPuJiErilwXeYC5oWmW7Lt0v8 doBabyaE6BlLriRb89SgHP88PpVJdg2xdpP3cXeahCFO8y45G9g42w+KNOSDV5yIiT Cpz32f/UgAVkCOlYXEETa1k1kRGAyFIMYKmFfxZE= Authentication-Results: mail-nwsmtp-smtp-production-main-54.iva.yp-c.yandex.net; dkim=pass header.i=@tantorlabs.com Content-Type: multipart/mixed; boundary="------------Y3ufcyGJm3rxpnStI7ph2Rkd" Message-ID: <6e6c4dea-07a1-4a83-9bb7-77b9b3324c37@tantorlabs.com> Date: Sun, 2 Feb 2025 21:46:25 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: pgsql-hackers From: Ilia Evdokimov Subject: [PATCH] Fix incorrect range in pg_regress comment List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------Y3ufcyGJm3rxpnStI7ph2Rkd Content-Type: multipart/alternative; boundary="------------NY571PnfhGxu5nkLvv6UO01V" --------------NY571PnfhGxu5nkLvv6UO01V Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi hackers, I noticed that a comment in pg_regress incorrectly states that alternative output files can be named filename{_i}.out with 0 < i <= 9. However, the actual valid range is 0 <= i <= 9. This patch corrects the comment. The fix is trivial but ensures that the documentation in the code accurately reflects the behavior of pg_regress. Attached is a small patch correcting this. -- Best regards, Ilia Evdokimov, Tantor Labs LLC. --------------NY571PnfhGxu5nkLvv6UO01V Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Hi hackers,

I noticed that a comment in pg_regress incorrectly states that alternative output files can be named filename{_i}.out with 0 < i <= 9. However, the actual valid range is 0 <= i <= 9. This patch corrects the comment.

The fix is trivial but ensures that the documentation in the code accurately reflects the behavior of pg_regress.

Attached is a small patch correcting this.

--
Best regards,
Ilia Evdokimov,
Tantor Labs LLC.

--------------NY571PnfhGxu5nkLvv6UO01V-- --------------Y3ufcyGJm3rxpnStI7ph2Rkd Content-Type: text/x-patch; charset=UTF-8; name="v1-0001-Fix-incorrect-range-in-pg_regress-comment.patch" Content-Disposition: attachment; filename="v1-0001-Fix-incorrect-range-in-pg_regress-comment.patch" Content-Transfer-Encoding: base64 RnJvbSBkMmVmMWIyZmYyZjQyYmMzOGViMmQyZDg3MjAxYTI4MjJkNTNkOGI1IE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBJbGlhIEV2ZG9raW1vdiA8aWx5YS5ldmRva2ltb3ZA dGFudG9ybGFicy5jb20+CkRhdGU6IFN1biwgMiBGZWIgMjAyNSAyMTozNToxMCArMDMwMApT dWJqZWN0OiBbUEFUQ0ggdjFdIEZpeCBpbmNvcnJlY3QgcmFuZ2UgaW4gcGdfcmVncmVzcyBj b21tZW50CgpUaGUgY29tbWVudCBpbiBwZ19yZWdyZXNzIGluY29ycmVjdGx5IHN0YXRlZCB0 aGF0IGFsdGVybmF0aXZlCm91dHB1dCBmaWxlcyBjb3VsZCBiZSBuYW1lZCB0ZXN0e19pfS5v dXQgd2l0aCAwIDwgaSA8PSA5LgpIb3dldmVyLCB0aGUgdmFsaWQgcmFuZ2UgaXMgYWN0dWFs bHkgMCA8PSBpIDw9IDkuCi0tLQogc3JjL3Rlc3QvcmVncmVzcy9wZ19yZWdyZXNzLmMgfCAy ICstCiAxIGZpbGUgY2hhbmdlZCwgMSBpbnNlcnRpb24oKyksIDEgZGVsZXRpb24oLSkKCmRp ZmYgLS1naXQgYS9zcmMvdGVzdC9yZWdyZXNzL3BnX3JlZ3Jlc3MuYyBiL3NyYy90ZXN0L3Jl Z3Jlc3MvcGdfcmVncmVzcy5jCmluZGV4IDYxYTIzNGFlMjEuLjVkODVkY2M2MmYgMTAwNjQ0 Ci0tLSBhL3NyYy90ZXN0L3JlZ3Jlc3MvcGdfcmVncmVzcy5jCisrKyBiL3NyYy90ZXN0L3Jl Z3Jl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