Use preprocessor conditions compatible with Emacs indent.

Emacs wrongly indented hundreds of subsequent lines.
This commit is contained in:
Noah Misch 2019-04-28 12:56:53 -07:00
parent e481d26285
commit 90e7f31773
2 changed files with 6 additions and 3 deletions

View File

@ -2371,7 +2371,11 @@ processCancelRequest(Port *port, void *pkt)
backendPID)));
return;
}
#ifndef EXEC_BACKEND /* make GNU Emacs 26.1 see brace balance */
}
#else
}
#endif
/* No matching backend */
ereport(LOG,

View File

@ -102,12 +102,11 @@ get_control_data(ClusterInfo *cluster, bool live_check)
pg_putenv("LC_MONETARY", NULL);
pg_putenv("LC_NUMERIC", NULL);
pg_putenv("LC_TIME", NULL);
pg_putenv("LANG",
#ifndef WIN32
NULL);
pg_putenv("LANG", NULL);
#else
/* On Windows the default locale cannot be English, so force it */
"en");
pg_putenv("LANG", "en");
#endif
pg_putenv("LANGUAGE", NULL);
pg_putenv("LC_ALL", NULL);