aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2025-02-02 22:37:13 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2025-02-02 22:37:13 -0500
commit43a15eb9400dba2b0b97be72d1a3745a6a6f7136 (patch)
tree69458e734e40ea6d34311c9ad8a39ee67225b866
parentb998fedab74c6cf4e564c17f4171881759a093ee (diff)
downloadpostgresql-43a15eb9400dba2b0b97be72d1a3745a6a6f7136.tar.gz
postgresql-43a15eb9400dba2b0b97be72d1a3745a6a6f7136.zip
Fix incorrect range in pg_regress comment.
A comment in pg_regress incorrectly stated that alternative output files could be named test_{i}.out with 0 < i <= 9. However, the valid range is actually 0 <= i <= 9. (The user-facing docs have this right already.) Author: Ilia Evdokimov <ilya.evdokimov@tantorlabs.com> Discussion: https://postgr.es/m/6e6c4dea-07a1-4a83-9bb7-77b9b3324c37@tantorlabs.com
-rw-r--r--src/test/regress/pg_regress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/regress/pg_regress.c b/src/test/regress/pg_regress.c
index 61a234ae218..5d85dcc62f0 100644
--- a/src/test/regress/pg_regress.c
+++ b/src/test/regress/pg_regress.c
@@ -1335,7 +1335,7 @@ make_directory(const char *dir)
}
/*
- * In: filename.ext, Return: filename_i.ext, where 0 < i <= 9
+ * In: filename.ext, Return: filename_i.ext, where 0 <= i <= 9
*/
static char *
get_alternative_expectfile(const char *expectfile, int i)