mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-29 22:49:41 +03:00 
			
		
		
		
	Oops, add proper #ifdef for systems without support for syslog.
Per buildfarm member mastodon.
This commit is contained in:
		| @@ -10,7 +10,7 @@ | |||||||
|  * Written by Peter Eisentraut <peter_e@gmx.net>. |  * Written by Peter Eisentraut <peter_e@gmx.net>. | ||||||
|  * |  * | ||||||
|  * IDENTIFICATION |  * IDENTIFICATION | ||||||
|  *	  $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.442 2008/04/03 09:21:15 mha Exp $ |  *	  $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.443 2008/04/03 13:25:02 mha Exp $ | ||||||
|  * |  * | ||||||
|  *-------------------------------------------------------------------- |  *-------------------------------------------------------------------- | ||||||
|  */ |  */ | ||||||
| @@ -229,6 +229,7 @@ static const struct config_enum_entry session_replication_role_options[] = { | |||||||
| 	{NULL, 0} | 	{NULL, 0} | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | #ifdef HAVE_SYSLOG | ||||||
| static const struct config_enum_entry syslog_facility_options[] = { | static const struct config_enum_entry syslog_facility_options[] = { | ||||||
| 	{"local0", LOG_LOCAL0}, | 	{"local0", LOG_LOCAL0}, | ||||||
| 	{"local1", LOG_LOCAL1}, | 	{"local1", LOG_LOCAL1}, | ||||||
| @@ -240,6 +241,7 @@ static const struct config_enum_entry syslog_facility_options[] = { | |||||||
| 	{"local7", LOG_LOCAL7}, | 	{"local7", LOG_LOCAL7}, | ||||||
| 	{NULL, 0} | 	{NULL, 0} | ||||||
| }; | }; | ||||||
|  | #endif | ||||||
|  |  | ||||||
|  |  | ||||||
| /* | /* | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user