| From: | "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> |
|---|---|
| To: | 'Nazir Bilal Yavuz' <byavuz81(at)gmail(dot)com> |
| Cc: | Peter Eisentraut <peter(at)eisentraut(dot)org>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Álvaro Herrera <alvherre(at)kurilemu(dot)de>, Bruce Momjian <bruce(at)momjian(dot)us> |
| Subject: | RE: Improve docs syntax checking and enable it in the meson build |
| Date: | 2026-02-17 01:56:00 |
| Message-ID: | OS9PR01MB1214918B87CCD5DB66DB0173BF56DA@OS9PR01MB12149.jpnprd01.prod.outlook.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Dear Nazir,
> I think we might be using different meson versions, which could
> explain the difference. I am currently using meson v1.7.0.
I verified on my two environments, and both could work as expected.
Your patch was applied then doc/src/sgml/meson.build was updated
from the HEAD.
Almalinux 9:
```
$ meson -v
0.63.3
$ ninja clean && meson test --suite doc
[2/2] Cleaning
Cleaning... 8 files.
ninja: Entering directory `/home/hayato/builddir'
[8/8] Generating doc/src/sgml/postgres-full.xml with a custom command
1/1 postgresql:doc / doc/sgml_syntax_check OK 0.39s
Ok: 1
Expected Fail: 0
Fail: 0
Unexpected Pass: 0
Skipped: 0
Timeout: 0
Full log written to /home/hayato/builddir/meson-logs/testlog.txt
```
Ubuntsu 24.04 LTS
```
$ meson -v
1.3.2
$ ninja clean && meson test --suite doc
[2/2] Cleaning
Cleaning... 8 files.
ninja: Entering directory `/home/hayato/builddir'
[8/8] Generating doc/src/sgml/postgres-full.xml with a custom command
1/1 postgresql:doc / doc/sgml_syntax_check OK 0.50s
Ok: 1
Expected Fail: 0
Fail: 0
Unexpected Pass: 0
Skipped: 0
Timeout: 0
Full log written to /home/hayato/builddir/meson-logs/testlog.txt
```
As Álvaro pointed out [1], I also think there should be a way to build some
needed items.
[1]: https://www.postgresql.org/message-id/202602161234.ujd6lsyxxnh4%40alvherre.pgsql
Best regards,
Hayato Kuroda
FUJITSU LIMITED
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Ashutosh Bapat | 2026-02-17 02:20:42 | Re: [PATCH] pgindent truncates last line of files missing a trailing newline |
| Previous Message | Tom Lane | 2026-02-17 01:36:25 | Re: generating function default settings from pg_proc.dat |