Re: [PATCH] Add Windows support for backtrace_functions (MSVC only)
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Jakub Wartak <jakub.wartak@enterprisedb.com>
Cc: Bryan Green <dbryan.green@gmail.com>, pgsql-hackers@postgresql.org
Date: 2025-10-20T08:40:28Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Add backtrace support for Windows using DbgHelp API
- 65707ed9afc9 19 (unreleased) landed
On Mon, Oct 20, 2025 at 10:10:25AM +0200, Jakub Wartak wrote: > Cool, thanks for working on this. Win32 is a bit alien to me, but I've > got access to win32 so I've played with the patch a little bit. With > simple: SET backtrace_functions = 'typenameType'; CREATE TABLE tab (id > invalidtype); Perhaps it would be possible to add some WIN32-specific tests that check some log patterns based on the backtraces printed? (I have not read the patch in details, just an idea while passing by.) -- Michael