Re: Streaming replication as a separate permissions

Stephen Frost <sfrost@snowman.net>

From: Stephen Frost <sfrost@snowman.net>
To: Josh Berkus <josh@agliodbs.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Robert Haas <robertmhaas@gmail.com>, Magnus Hagander <magnus@hagander.net>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2010-12-23T22:45:19Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Allow Win32 to compile under MinGW. Major changes are:

* Josh Berkus (josh@agliodbs.com) wrote:
> 1) have a replication permission

Right, that's what this patch is about.

> 2) *by default* create a replication user with the replication
> permission when we initdb.

I'm not entirely sure about this one..  I'm not against it but I'm also
not really 'for' it. :)

> 3) have an example line for a replication connection by the replication
> user in the default pg_hba.conf (commented out).

Sure.

> 4) change all our docs and examples to use that replication user.

I don't have a problem with that.

	Thanks,

		Stephen