Ilia Evdokimov <ilya.evdokimov@tantorlabs.com> writes:
> 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.
Hmm, our convention is definitely that the numbers start with 1,
so I do not want to make this change. Maybe we should change
the code instead.
regards, tom lane
On Sun, 2 Feb 2025 at 22:26, Tom Lane <tgl@sss.pgh.pa.us> wrote: > Hmm, our convention is definitely that the numbers start with 1, > so I do not want to make this change. Maybe we should change > the code instead. That would require any extensions that use the _0.out suffix to update all those files to use _1.out as the suffix. One such extension is Citus[1]. That seems like unnecessary extension churn with little benefit. So my vote would be to update the comment (as is done in patch v1). [1]: https://github.com/citusdata/citus/blob/main/src/test/regress/expected/columnar_lz4_0.out
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера