Blame SOURCES/postgresql-config-comment.patch

7686b4
Add note warning users that Postgres' port number is forced in the service
7686b4
file, mainly because it's traditional in Red Hat installations to set it
7686b4
there rather than in postgresql.conf.  (There are minor usability benefits
7686b4
to doing it this way though, for example that the postmaster's port number
7686b4
is visible in "ps" as part of its command line.)
7686b4
7686b4
7686b4
diff -Naur postgresql-9.2rc1.orig/src/backend/utils/misc/postgresql.conf.sample postgresql-9.2rc1/src/backend/utils/misc/postgresql.conf.sample
7686b4
--- postgresql-9.2rc1.orig/src/backend/utils/misc/postgresql.conf.sample	2012-08-23 18:06:49.000000000 -0400
7686b4
+++ postgresql-9.2rc1/src/backend/utils/misc/postgresql.conf.sample	2012-09-01 21:57:55.498629897 -0400
7686b4
@@ -61,6 +61,8 @@
7686b4
 					# defaults to 'localhost'; use '*' for all
7686b4
 					# (change requires restart)
7686b4
 #port = 5432				# (change requires restart)
7686b4
+# Note: In RHEL/Fedora installations, you can't set the port number here;
7686b4
+# adjust it in the service file instead.
7686b4
 #max_connections = 100			# (change requires restart)
7686b4
 # Note:  Increasing max_connections costs ~400 bytes of shared memory per
7686b4
 # connection slot, plus lock space (see max_locks_per_transaction).