Remove PGDLLIMPORT marker from __pg_log_level
authorMichael Paquier <michael@paquier.xyz>
Fri, 13 May 2022 00:39:13 +0000 (09:39 +0900)
committerMichael Paquier <michael@paquier.xyz>
Fri, 13 May 2022 00:39:13 +0000 (09:39 +0900)
Per discussion with Tom Lane and Andres Freund.  I have misunderstood
the intention behind the choice done in 9a374b7.

Discussion: https://postgr.es/m/20220512153737.6kbbcf4qyvwgq4s2@alap3.anarazel.de

src/include/common/logging.h

index 2ab9f0ea50268189fbac3011fade94f7d2985960..9f426c32d61259332e1a67599d3c6feb50df456b 100644 (file)
@@ -51,7 +51,7 @@ enum pg_log_level
 /*
  * __pg_log_level is the minimum log level that will actually be shown.
  */
-extern PGDLLIMPORT enum pg_log_level __pg_log_level;
+extern enum pg_log_level __pg_log_level;
 
 /*
  * A log message can have several parts.  The primary message is required,