Trivial patch to fix a typo

Поиск
Список
Период
Сортировка
Искать

Trivial patch to fix a typo

От:
Chao Li <li.evan.chao@gmail.com>
Дата:
Вложения:
Hi Committers,

I happened to catch this typo while reading the regression test code, so submitting a fix.

As the typo is in the code comment, no test needs to run. 

Best regards,
Chao Li (Evan)
------------------------------
HighGo Software Inc.
https://www.highgo.com/

Re: Trivial patch to fix a typo

От:
Michael Paquier <michael@paquier.xyz>
Дата:
Вложения:
On Fri, Aug 01, 2025 at 02:56:33PM +0800, Chao Li wrote:
> I happened to catch this typo while reading the regression test code, so
> submitting a fix.
> 
> As the typo is in the code comment, no test needs to run.

Incorrect.  The comment is included in the generated output, impacting
also foreign_key.out.  If you run a simple `make check` you would see
that the tests fail.
--
Michael

Re: Trivial patch to fix a typo

От:
Chao Li <li.evan.chao@gmail.com>
Дата:
Вложения:
Ah ... Good to learn. Attached v2 updated the out file as well, now the test passed:

$ make check
...
# All 229 tests passed.

Thanks a lot.
Chao Li (Evan)
------------------------------
HighGo Software Inc.
https://www.highgo.com/


Michael Paquier <michael@paquier.xyz> 于2025年8月1日周五 15:04写道:
On Fri, Aug 01, 2025 at 02:56:33PM +0800, Chao Li wrote:
> I happened to catch this typo while reading the regression test code, so
> submitting a fix.
>
> As the typo is in the code comment, no test needs to run.

Incorrect.  The comment is included in the generated output, impacting
also foreign_key.out.  If you run a simple `make check` you would see
that the tests fail.
--
Michael

Re: Trivial patch to fix a typo

От:
Michael Paquier <michael@paquier.xyz>
Дата:
Вложения:
On Fri, Aug 01, 2025 at 03:16:18PM +0800, Chao Li wrote:
> Ah ... Good to learn. Attached v2 updated the out file as well, now the
> test passed:
> 
> $ make check
> ...
> # All 229 tests passed.

That's much better ;)

Applied now down to v18.
--
Michael

Re: Trivial patch to fix a typo

От:
Chao Li <li.evan.chao@gmail.com>
Дата:
Hi Michael,

Thank you so much for your help. I am new to PG development, I'll keep learning. :)

Chao Li (Evan)
------------------------------
HighGo Software Inc.
https://www.highgo.com/


Michael Paquier <michael@paquier.xyz> 于2025年8月2日周六 18:55写道:
On Fri, Aug 01, 2025 at 03:16:18PM +0800, Chao Li wrote:
> Ah ... Good to learn. Attached v2 updated the out file as well, now the
> test passed:
>
> $ make check
> ...
> # All 229 tests passed.

That's much better ;)

Applied now down to v18.
--
Michael
FAQ