Server Name
Simon Riggs <simon@2ndquadrant.com>
From: Simon Riggs <simon@2ndQuadrant.com>
To: pgsql-hackers@postgresql.org
Date: 2011-02-18T11:50:58Z
Lists: pgsql-hackers
Attachments
- server_name_with_info.v1.patch (text/x-patch) patch v1
We agreed to add a parameter called sync_standbys http://archives.postgresql.org/message-id/4D1DCF5A.7070808@enterprisedb.com. that required the concept of a server name. I've written this patch to add a server name parameter and to send an info message which returns the server name, attached. For now, Sync Rep will be written to match sync_standbys against the application_name instead. It may be possible we agree it is the right way to go, so I've not rushed to apply the patch given here after all. This patch now has a lower priority than the main sync rep patch. -- Simon Riggs http://www.2ndQuadrant.com/books/ PostgreSQL Development, 24x7 Support, Training and Services