pgsql: doc: Update track_io_timing documentation to mention pg_stat_io.

2024-07-10 Thread Fujii Masao
doc: Update track_io_timing documentation to mention pg_stat_io. The I/O timing information collected when track_io_timing is enabled is now documented to appear in the pg_stat_io view, which was previously not mentioned. This commit also enhances the description of track_io_timing to clarify tha

pgsql: doc: Update track_io_timing documentation to mention pg_stat_io.

2024-07-10 Thread Fujii Masao
doc: Update track_io_timing documentation to mention pg_stat_io. The I/O timing information collected when track_io_timing is enabled is now documented to appear in the pg_stat_io view, which was previously not mentioned. This commit also enhances the description of track_io_timing to clarify tha

pgsql: doc: Update track_io_timing documentation to mention pg_stat_io.

2024-07-10 Thread Fujii Masao
doc: Update track_io_timing documentation to mention pg_stat_io. The I/O timing information collected when track_io_timing is enabled is now documented to appear in the pg_stat_io view, which was previously not mentioned. This commit also enhances the description of track_io_timing to clarify tha

pgsql: Use diff's --strip-trailing-cr flag where appropriate on Windows

2024-07-10 Thread Andrew Dunstan
Use diff's --strip-trailing-cr flag where appropriate on Windows Test result files might be checked out using Unix or Windows style line endings, depening on git flags, so on Windows we use the --strip-trailing-cr flag to tell diff to ignore line endings differences. The flag is added to the diff

pgsql: Use diff's --strip-trailing-cr flag where appropriate on Windows

2024-07-10 Thread Andrew Dunstan
Use diff's --strip-trailing-cr flag where appropriate on Windows Test result files might be checked out using Unix or Windows style line endings, depening on git flags, so on Windows we use the --strip-trailing-cr flag to tell diff to ignore line endings differences. The flag is added to the diff

pgsql: Improve the numeric width_bucket() computation.

2024-07-10 Thread Dean Rasheed
Improve the numeric width_bucket() computation. Formerly, the computation of the bucket index involved calling div_var() with a scale determined by select_div_scale(), and then taking the floor of the result. That involved computing anything from 16 to 1000 digits after the decimal point, only for

pgsql: Revamp documentation for predefined roles.

2024-07-10 Thread Nathan Bossart
Revamp documentation for predefined roles. Presently, the page for predefined roles contains a table with brief descriptions of what each role allows. Below the table, there is a separate section with more detailed information about some of the roles. As the set of predefined roles has grown ove

pgsql: Make our back branches compatible with libxml2 2.13.x.

2024-07-10 Thread Tom Lane
Make our back branches compatible with libxml2 2.13.x. This back-patches HEAD commits 066e8ac6e, 6082b3d5d, e7192486d, and 896cd266f into supported branches. Changes: * Use xmlAddChildList not xmlAddChild in XMLSERIALIZE (affects v16 and up only). This was a flat-out coding mistake that we got

pgsql: Make our back branches compatible with libxml2 2.13.x.

2024-07-10 Thread Tom Lane
Make our back branches compatible with libxml2 2.13.x. This back-patches HEAD commits 066e8ac6e, 6082b3d5d, e7192486d, and 896cd266f into supported branches. Changes: * Use xmlAddChildList not xmlAddChild in XMLSERIALIZE (affects v16 and up only). This was a flat-out coding mistake that we got

pgsql: Make our back branches compatible with libxml2 2.13.x.

2024-07-10 Thread Tom Lane
Make our back branches compatible with libxml2 2.13.x. This back-patches HEAD commits 066e8ac6e, 6082b3d5d, e7192486d, and 896cd266f into supported branches. Changes: * Use xmlAddChildList not xmlAddChild in XMLSERIALIZE (affects v16 and up only). This was a flat-out coding mistake that we got

pgsql: Make our back branches compatible with libxml2 2.13.x.

2024-07-10 Thread Tom Lane
Make our back branches compatible with libxml2 2.13.x. This back-patches HEAD commits 066e8ac6e, 6082b3d5d, e7192486d, and 896cd266f into supported branches. Changes: * Use xmlAddChildList not xmlAddChild in XMLSERIALIZE (affects v16 and up only). This was a flat-out coding mistake that we got

pgsql: Make our back branches compatible with libxml2 2.13.x.

2024-07-10 Thread Tom Lane
Make our back branches compatible with libxml2 2.13.x. This back-patches HEAD commits 066e8ac6e, 6082b3d5d, e7192486d, and 896cd266f into supported branches. Changes: * Use xmlAddChildList not xmlAddChild in XMLSERIALIZE (affects v16 and up only). This was a flat-out coding mistake that we got

pgsql: Make our back branches compatible with libxml2 2.13.x.

2024-07-10 Thread Tom Lane
Make our back branches compatible with libxml2 2.13.x. This back-patches HEAD commits 066e8ac6e, 6082b3d5d, e7192486d, and 896cd266f into supported branches. Changes: * Use xmlAddChildList not xmlAddChild in XMLSERIALIZE (affects v16 and up only). This was a flat-out coding mistake that we got

pgsql: Add PgStat_KindInfo.init_shmem_cb

2024-07-10 Thread Michael Paquier
Add PgStat_KindInfo.init_shmem_cb This new callback gives fixed-numbered stats the possibility to take actions based on the area of shared memory allocated for them. This removes from pgstat_shmem.c any knowledge specific to the types of fixed-numbered stats, and the initializations happen in the