Re: [HACKERS] Adding an example for replication configuration to pg_hba.conf

2011-05-24 Thread Bruce Momjian
Tom Lane wrote: > Robert Haas writes: > > On Tue, May 24, 2011 at 2:48 PM, Bruce Momjian wrote: > >> Yes, the problem is the sample will change, but the $PGDATA will not, so > >> anyone doing a diff of the two files to see the localized changes will > >> see the changes that came in as part of th

Re: [HACKERS] Adding an example for replication configuration to pg_hba.conf

2011-05-24 Thread Tom Lane
Robert Haas writes: > On Tue, May 24, 2011 at 2:48 PM, Bruce Momjian wrote: >> Yes, the problem is the sample will change, but the $PGDATA will not, so >> anyone doing a diff of the two files to see the localized changes will >> see the changes that came in as part of that commit. > I don't thin

Re: [HACKERS] Adding an example for replication configuration to pg_hba.conf

2011-05-24 Thread Robert Haas
On Tue, May 24, 2011 at 2:48 PM, Bruce Momjian wrote: > Yes, the problem is the sample will change, but the $PGDATA will not, so > anyone doing a diff of the two files to see the localized changes will > see the changes that came in as part of that commit. I don't think that's a serious problem.

Re: [HACKERS] Adding an example for replication configuration to pg_hba.conf

2011-05-24 Thread Bruce Momjian
Magnus Hagander wrote: > >> > As I mentioned offlist, I'd like it in teal please. > >> > >> Applied with some further minor bikeshedding (remove trailing spaces, > >> rewrap so columns aren't wider than 80 chars, etc) > > > > Let me just point out that people who have already run initdb during > >

Re: [HACKERS] Adding an example for replication configuration to pg_hba.conf

2011-05-24 Thread Magnus Hagander
On Tue, May 24, 2011 at 10:53, Bruce Momjian wrote: > Magnus Hagander wrote: >> On Thu, May 19, 2011 at 11:09, Dave Page wrote: >> > On Thu, May 19, 2011 at 2:44 PM, Selena Deckelmann >> > wrote: >> >> On Wed, May 18, 2011 at 8:20 PM, Alvaro Herrera >> >> wrote: >> >>> Excerpts from Greg Smith

Re: [HACKERS] Adding an example for replication configuration to pg_hba.conf

2011-05-24 Thread Bruce Momjian
Magnus Hagander wrote: > On Thu, May 19, 2011 at 11:09, Dave Page wrote: > > On Thu, May 19, 2011 at 2:44 PM, Selena Deckelmann > > wrote: > >> On Wed, May 18, 2011 at 8:20 PM, Alvaro Herrera > >> wrote: > >>> Excerpts from Greg Smith's message of mi? may 18 23:07:13 -0400 2011: > Two thin

Re: [HACKERS] Adding an example for replication configuration to pg_hba.conf

2011-05-19 Thread Magnus Hagander
On Thu, May 19, 2011 at 11:09, Dave Page wrote: > On Thu, May 19, 2011 at 2:44 PM, Selena Deckelmann wrote: >> On Wed, May 18, 2011 at 8:20 PM, Alvaro Herrera >> wrote: >>> Excerpts from Greg Smith's message of mié may 18 23:07:13 -0400 2011: Two things that could be changed from this examp

Re: [HACKERS] Adding an example for replication configuration to pg_hba.conf

2011-05-19 Thread Dave Page
On Thu, May 19, 2011 at 2:44 PM, Selena Deckelmann wrote: > On Wed, May 18, 2011 at 8:20 PM, Alvaro Herrera > wrote: >> Excerpts from Greg Smith's message of mié may 18 23:07:13 -0400 2011: >>> Two things that could be changed from this example to make it more useful: >> >>> -The default database

Re: [HACKERS] Adding an example for replication configuration to pg_hba.conf

2011-05-19 Thread Selena Deckelmann
On Wed, May 18, 2011 at 8:20 PM, Alvaro Herrera wrote: > Excerpts from Greg Smith's message of mié may 18 23:07:13 -0400 2011: >> Two things that could be changed from this example to make it more useful: > >> -The default database is based on your user name, which is postgres in >> most packaged

Re: [HACKERS] Adding an example for replication configuration to pg_hba.conf

2011-05-18 Thread Alvaro Herrera
Excerpts from Greg Smith's message of mié may 18 23:07:13 -0400 2011: > Two things that could be changed from this example to make it more useful: > -The default database is based on your user name, which is postgres in > most packaged builds but not if you compile your own. I don't know > whet

Re: [HACKERS] Adding an example for replication configuration to pg_hba.conf

2011-05-18 Thread Greg Smith
Two things that could be changed from this example to make it more useful: -Document at least a little bit more how this is different from the "all/all" rule. I can imagine users wondering "do I use this instead of the other one? In addition? Is it redundant if I have 'all' in there? A lit

Re: [HACKERS] Adding an example for replication configuration to pg_hba.conf

2011-05-18 Thread Selena Deckelmann
On Wed, May 18, 2011 at 9:35 AM, Christopher Browne wrote: > On Wed, May 18, 2011 at 12:17 PM, Selena Deckelmann > wrote: >> At the risk of starting an epic bikeshedding thread, I've attached a >> small patch that includes an example for both ipv4 and ipv6 localhost >> configuration. > > My "bik

Re: [HACKERS] Adding an example for replication configuration to pg_hba.conf

2011-05-18 Thread Christopher Browne
On Wed, May 18, 2011 at 12:17 PM, Selena Deckelmann wrote: > At the risk of starting an epic bikeshedding thread, I've attached a > small patch that includes an example for both ipv4 and ipv6 localhost > configuration. My "bikeshedding" would be to ensure that the sample pg_hba.conf includes some

Re: [HACKERS] Adding an example for replication configuration to pg_hba.conf

2011-05-18 Thread Selena Deckelmann
And this patch is aligned in a more pleasing way. -selena -- http://chesnok.com pg_hba_bikeshed2.patch Description: Binary data -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers