Re: Re: [COMMITTERS] pgsql: Add connection messages for streaming replication. - Mailing list pgsql-hackers

From Craig Ringer
Subject Re: Re: [COMMITTERS] pgsql: Add connection messages for streaming replication.
Date
Msg-id 4BAA0B56.4000508@postnewspapers.com.au
Whole thread Raw
In response to Re: [COMMITTERS] pgsql: Add connection messages for streaming replication.  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
On 24/03/2010 6:29 PM, Simon Riggs wrote:

> So we are allowing a database to be called "REPLICATION"? Surely there
> are some significant problems in that case. How will access control to
> that database work in the pg_hba.conf?

Surely it should be consistent with "template0" and "postgres":

template1=# create database postgres;
ERROR:  database "postgres" already exists
template1=# create database "postgres";
ERROR:  database "postgres" already exists
template1=# create database "POSTGRES";
CREATE DATABASE
template1=# create database template0;
ERROR:  database "template0" already exists
template1=# create database "template0";
ERROR:  database "template0" already exists
template1=# create database "TEMPLATE0";
CREATE DATABASE

--
Craig Ringer


pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: Re: [COMMITTERS] pgsql: Add connection messages for streaming replication.
Next
From: Andrew Dunstan
Date:
Subject: Re: PHONY targets in Makefile.global.in