postgres.git / summary / log / commit / refs

commit    c86d2ccdb35544590531f5431606db46b57730a8
Author:   Peter Eisentraut <peter@eisentraut.org>
Date:     Thu Apr 16 07:35:05 2026 +0000

    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@sss.pgh.pa.us>
    Discussion: https://www.postgresql.org/message-id/flat/1142ad86-e475-41b3-aeee-c6ad913064fa%40eisentraut.org


src/backend/utils/error/elog.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backend/utils/error/elog.c b/src/backend/utils/error/elog.c index c270c62e213..ad960336e8d 100644 --- a/src/backend/utils/error/elog.c +++ b/src/backend/utils/error/elog.c @@ -86,6 +86,7 @@ #include "tcop/tcopprot.h" #include "utils/guc_hooks.h" #include "utils/memutils.h" +#include "utils/pg_locale.h" #include "utils/ps_status.h" #include "utils/varlena.h" [parent: 9a618901a476]