Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf1e0d5a

Browse files
committed
Oops, add proper #ifdef for systems without support for syslog.
Per buildfarm member mastodon.
1 parentec0be60 commitf1e0d5a

File tree

1 file changed

+3
-1
lines changed
  • src/backend/utils/misc

1 file changed

+3
-1
lines changed

‎src/backend/utils/misc/guc.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Written by Peter Eisentraut <peter_e@gmx.net>.
1111
*
1212
* IDENTIFICATION
13-
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.442 2008/04/0309:21:15 mha Exp $
13+
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.443 2008/04/0313:25:02 mha Exp $
1414
*
1515
*--------------------------------------------------------------------
1616
*/
@@ -229,6 +229,7 @@ static const struct config_enum_entry session_replication_role_options[] = {
229229
{NULL,0}
230230
};
231231

232+
#ifdefHAVE_SYSLOG
232233
staticconststructconfig_enum_entrysyslog_facility_options[]= {
233234
{"local0",LOG_LOCAL0},
234235
{"local1",LOG_LOCAL1},
@@ -240,6 +241,7 @@ static const struct config_enum_entry syslog_facility_options[] = {
240241
{"local7",LOG_LOCAL7},
241242
{NULL,0}
242243
};
244+
#endif
243245

244246

245247
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp