Re: [PATCH] Add Windows support for backtrace_functions (MSVC only)

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Jakub Wartak <jakub(dot)wartak(at)enterprisedb(dot)com>
Cc: Bryan Green <dbryan(dot)green(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCH] Add Windows support for backtrace_functions (MSVC only)
Date: 2025-10-20 08:40:28
Message-ID: aPX1fHbUESCMlHq6@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2025-10-20 08:43:25 Re: Use CompactAttribute more often, when possible
Previous Message Michael Paquier 2025-10-20 08:38:14 Re: Random pg_upgrade 004_subscription test failure on drongo