Skip to content

Document the pg_stat_monitor 2.4.1 Windows build - #486

Open
huier5635-cmd wants to merge 1 commit into
IvorySQL:masterfrom
huier5635-cmd:docs/pg-stat-monitor-windows-3317
Open

huier5635-cmd wants to merge 1 commit into
IvorySQL:masterfrom
huier5635-cmd:docs/pg-stat-monitor-windows-3317

Conversation

@huier5635-cmd

@huier5635-cmd huier5635-cmd commented Nov 21, 2026 •

Copy link
Copy Markdown

Summary

Add Chinese and English instructions for building and verifying pg_stat_monitor 2.4.1 with MSVC on the PostgreSQL 19 Windows port of IvorySQL. Update both ecosystem compatibility tables to link the version note to the corresponding instructions.

The instructions identify the exact IvorySQL Windows port commit and explain how to move the preprocessor conditional out of the extension's DSA macro call. This is the documented build procedure for that tested combination.

Validation

  • The unmodified 2.4.1 release reproduced MSVC C2059 and C1019.
  • With the documented change, the Windows Server 2022 job built the extension DLL, started IvorySQL, ran CREATE EXTENSION, and confirmed a query and its IPv4 client address in the extension view. Windows test log
  • Checked the four documentation edits with git diff --check and verified the signed commit against the prepared patch.
  • A separate IvorySQL 5.6 release-source check also reproduced the stock C2059/C1019 with MSVC and built the 2.4.1 extension DLL after the documented change, exercising its PostgreSQL 18 branch. The stock 5.6 full installation stopped in IvorySQL libpq at the POSIX semaphore source ivy_sema.c. The start-up and query-recording checks above use the PostgreSQL 19 port commit described in this guide.
  • A separate release-source backport test started from IvorySQL 5.6 at 74c405c9c355a and applied a Windows-only libpq source selection plus the compatible Windows fixes from Windows build with MSVC and meson: export macro, libuuid, linkage and scanner fixes IvorySQL#2321. With that test patch and the documented pg_stat_monitor 2.4.1 patch, MSVC built and installed the server. pg_config reported PostgreSQL 18.6, CREATE EXTENSION succeeded, and the view recorded a real query and its 127.0.0.1 client. This run describes the backported test source.

Refs IvorySQL/IvorySQL#3317

Assisted-by: Codex:0.171.0-alpha.13
Percentage of AI-generated code: 100%

Add the verified 2.4.1 build procedure for the PostgreSQL 19 Windows
port. Update the Chinese and English extension pages and compatibility
tables with the tested version and its Windows prerequisites.

Refs IvorySQL/IvorySQL#3317
Assisted-by: Codex:0.171.0-alpha.13
Percentage of AI-generated code: 100%

Signed-off-by: huier <huier5635@gmail.com>
@github-actions
github-actions Bot temporarily deployed to pull request November 21, 2026 22:23 Inactive
@github-actions

Copy link
Copy Markdown

🚀 IvorySQL-Docs Preview Ready

This branch was previously deployed

1 inactive deployment
pull request — 7e23891e Deployed Nov 21, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant