[PATCH 10/14] Allow walsender's to connect to a specific database
Andres Freund <andres@2ndquadrant.com>
From: Andres Freund <andres@2ndquadrant.com>
To: pgsql-hackers@postgresql.org
Date: 2012-11-15T01:17:10Z
Lists: pgsql-hackers
Attachments
- 0010-Allow-walsender-s-to-connect-to-a-specific-database.patch (text/x-patch) patch 0010
Currently the decision whether to connect to a database or not is made by checking whether the passed "dbname" parameter is "replication". Unfortunately this makes it impossible to connect a to a database named replication... This is useful for future walsender commands which need database interaction. --- src/backend/postmaster/postmaster.c | 7 ++++-- .../libpqwalreceiver/libpqwalreceiver.c | 4 ++-- src/backend/replication/walsender.c | 27 ++++++++++++++++++---- src/backend/utils/init/postinit.c | 5 ++++ src/bin/pg_basebackup/pg_basebackup.c | 4 ++-- src/bin/pg_basebackup/pg_receivexlog.c | 4 ++-- src/bin/pg_basebackup/receivelog.c | 4 ++-- 7 files changed, 41 insertions(+), 14 deletions(-)
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Background worker processes
- da07a1e85651 9.3.0 cited
-
Rearrange storage of data in xl_running_xacts.
- 5c11725867ac 9.3.0 cited
-
Basic binary heap implementation.
- 7a2fe9bd0371 9.3.0 cited
-
Embedded list interface
- a66ee69add6e 9.3.0 cited
-
Refactor xlog.c to create src/backend/postmaster/startup.c
- 9aceb6ab3c20 9.2.0 cited