mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Disable update_process_title by default on Windows
The performance overhead of this can be significant on Windows, and most people don't have the tools to view it anyway as Windows does not have native support for process titles. Discussion: <0A3221C70F24FB45833433255569204D1F5BE3E8@G01JPEXMBYT05> Takayuki Tsunakawa
This commit is contained in:
@ -1210,7 +1210,11 @@ static struct config_bool ConfigureNamesBool[] =
|
||||
gettext_noop("Enables updating of the process title every time a new SQL command is received by the server.")
|
||||
},
|
||||
&update_process_title,
|
||||
#ifdef WIN32
|
||||
false,
|
||||
#else
|
||||
true,
|
||||
#endif
|
||||
NULL, NULL, NULL
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user