]> granicus.if.org Git - postgresql/commit
Use "replication" as the database name when constructing a connection
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 11 Jun 2010 10:13:09 +0000 (10:13 +0000)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 11 Jun 2010 10:13:09 +0000 (10:13 +0000)
commite751b71b56f1ba6fa3bb277059f9d5a8ea7b84af
tree7444f4c07dd491053adced0ea429074db79480c0
parentc46f861c0dde5813b8c472a65dfc4e76d093ad0f
Use "replication" as the database name when constructing a connection
string for a streaming replication connection. It's ignored by the
server, but allows libpq to pick up the password from .pgpass where
"replication" is specified as the database name.

Patch by Fujii Masao per Tom's suggestion, with some wording changes by me.
doc/src/sgml/high-availability.sgml
doc/src/sgml/libpq.sgml
doc/src/sgml/recovery-config.sgml
src/backend/replication/libpqwalreceiver/libpqwalreceiver.c