Re: Sync Rep Design
Simon Riggs <simon@2ndquadrant.com>
From: Simon Riggs <simon@2ndQuadrant.com>
To: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Cc: Hannu Krosing <hannu@2ndquadrant.com>, greg@2ndQuadrant.com, Josh Berkus <josh@postgresql.org>, Robert Haas <robertmhaas@gmail.com>, Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>, pgsql-hackers@postgresql.org
Date: 2011-01-01T22:41:10Z
Lists: pgsql-hackers
On Sat, 2011-01-01 at 21:41 +0200, Heikki Linnakangas wrote: > On 31.12.2010 23:18, Hannu Krosing wrote: > > On 31.12.2010 13:40, Heikki Linnakangas wrote: > >> That thread makes no mention of how to specify which standbys are > >> synchronous and which are not. > > The simplest way would be to have separate database users for sync and > > async standbys ? > > > > That would allow any standby with right credentials act as a sync user, > > and those who are not eligible are not accepted even if they try to act > > as "a synchronity (?) provider". > > Hmm, access control... We haven't yet discussed what privileges a > standby needs to become synchronous. Perhaps it needs to be a separate > privilege that can be granted, in addition to the replication privilege? Perhaps we don't need it, also. Why is that essential in this release? -- Simon Riggs http://www.2ndQuadrant.com/books/ PostgreSQL Development, 24x7 Support, Training and Services