aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-09-08 17:08:36 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-09-08 17:08:36 +0000
commiteeb6cb143a005641841e718cb8638bc0c684ec25 (patch)
treef9484aae6787ac93e18d19b547d041ae01a4ed76 /src/include
parent59b9f3d36d56fa2bc998c4169f650b0a501874ea (diff)
downloadpostgresql-eeb6cb143a005641841e718cb8638bc0c684ec25.tar.gz
postgresql-eeb6cb143a005641841e718cb8638bc0c684ec25.zip
Add a boolean GUC parameter "bonjour" to control whether a Bonjour-enabled
build actually attempts to advertise itself via Bonjour. Formerly it always did so, which meant that packagers had to decide for their users whether this behavior was wanted or not. The default is "off" to be on the safe side, though this represents a change in the default behavior of a Bonjour-enabled build. Per discussion.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/postmaster/postmaster.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/postmaster/postmaster.h b/src/include/postmaster/postmaster.h
index 3b8061e4f7d..47e014bee39 100644
--- a/src/include/postmaster/postmaster.h
+++ b/src/include/postmaster/postmaster.h
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/postmaster/postmaster.h,v 1.20 2009/05/05 19:59:00 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/postmaster/postmaster.h,v 1.21 2009/09/08 17:08:36 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -27,6 +27,7 @@ extern int PreAuthDelay;
extern int AuthenticationTimeout;
extern bool Log_connections;
extern bool log_hostname;
+extern bool enable_bonjour;
extern char *bonjour_name;
#ifdef WIN32