On 12/23/10 2:33 PM, Stephen Frost wrote: > A better alternative, imv, would be to just have a & d, and mention in > the release notes that users *should* create a dedicated replication > role which is *not* a superuser but *does* have the replication grant, > but if they don't want to change their existing configurations, they can > just grant the replication privilege to whatever role they're currently > using.
Well, if we really want people to change their behavior then we need to make it easy for them: 1) have a replication permission 2) *by default* create a replication user with the replication permission when we initdb. 3) have an example line for a replication connection by the replication user in the default pg_hba.conf (commented out). 4) change all our docs and examples to use that replication user. If using the replication user is easier than any other path, people will. If it's harder, they won't. -- -- Josh Berkus PostgreSQL Experts Inc. http://www.pgexperts.com -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers