pgsql: Add missing include

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add missing include
Date: 2026-04-16 07:42:13
Message-ID: E1wDHMb-001DUM-07@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add missing include

"utils/pg_locale.h" is needed when under MSVC for wchar2char(),
introduced by commit 65707ed9afc. Surprisingly, MSVC doesn't warn by
default about calling undeclared functions. This will be addressed in
a separate commit.

Reviewed-by: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Discussion: https://www.postgresql.org/message-id/flat/1142ad86-e475-41b3-aeee-c6ad913064fa%40eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c86d2ccdb35544590531f5431606db46b57730a8

Modified Files
--------------
src/backend/utils/error/elog.c | 1 +
1 file changed, 1 insertion(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2026-04-16 07:53:14 pgsql: MSVC: Turn missing function declaration into an error
Previous Message Thomas Munro 2026-04-16 06:38:29 pgsql: Fix comments for Korean encodings in encnames.c