Blame SOURCES/postgresql-config-comment.patch

ca36e9
Add note warning users that Postgres' port number is forced in the service
ca36e9
file, mainly because it's traditional in Red Hat installations to set it
ca36e9
there rather than in postgresql.conf.  (There are minor usability benefits
ca36e9
to doing it this way though, for example that the postmaster's port number
ca36e9
is visible in "ps" as part of its command line.)
ca36e9
ca36e9
ca36e9
diff -Naur postgresql-9.2rc1.orig/src/backend/utils/misc/postgresql.conf.sample postgresql-9.2rc1/src/backend/utils/misc/postgresql.conf.sample
ca36e9
--- postgresql-9.2rc1.orig/src/backend/utils/misc/postgresql.conf.sample	2012-08-23 18:06:49.000000000 -0400
ca36e9
+++ postgresql-9.2rc1/src/backend/utils/misc/postgresql.conf.sample	2012-09-01 21:57:55.498629897 -0400
ca36e9
@@ -61,6 +61,8 @@
ca36e9
 					# defaults to 'localhost'; use '*' for all
ca36e9
 					# (change requires restart)
ca36e9
 #port = 5432				# (change requires restart)
ca36e9
+# Note: In RHEL/Fedora installations, you can't set the port number here;
ca36e9
+# adjust it in the service file instead.
ca36e9
 #max_connections = 100			# (change requires restart)
3789cb
 #superuser_reserved_connections = 3	# (change requires restart)
3789cb
 #unix_socket_directories = '/tmp'	# comma-separated list of directories