pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hannu Krosing <hannu@2ndQuadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andres Freund <andres@2ndquadrant.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Josh Berkus <josh@agliodbs.com>
Cc: pgsql-hackers@postgresql.org
Subject: Re: pg_system_identifier()
Date: Fri, 23 Aug 2013 17:08:05 +0200
Message-ID: <52177AD5.5010809@2ndQuadrant.com> (raw)
In-Reply-To: <15653.1377189456@sss.pgh.pa.us>
References: <5215346B.7070800@dalibo.com>
	<CAHGQGwHN0114tzFnV2e3Pk8L74vHmDjPk7g73woK9B7xirT5pw@mail.gmail.com>
	<20130822134205.GC17006@awork2.anarazel.de>
	<WM!f248d514cddac81a49ad91107b7891d203688a9bc9b2b185a57c1442043f35ed99f6fc76707f6f71a7a8c9d2e425e9ba!@asav-3.01.com>
	<52163222.9030700@agliodbs.com>
	<20130822155633.GF17006@awork2.anarazel.de>
	<14611.1377187563@sss.pgh.pa.us>
	<20130822161839.GG17006@awork2.anarazel.de>
	<20130822162019.GC10710@eldon.alvh.no-ip.org>
	<20130822163059.GI17006@awork2.anarazel.de>
	<15653.1377189456@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On 08/22/2013 06:37 PM, Tom Lane wrote:
> A
> Do we have a reliable way of generating a unique identifier for each slave
> (independently of how that might be exposed)?
Probably we could just generate an unique UUID when we first detect
that we are replicating from the master with same UUID.

This of course requires this master UUID to be present in some way
in the replication stream

Cheers

-- 
Hannu Krosing
PostgreSQL Consultant
Performance, Scalability and High Availability
2ndQuadrant Nordic OÜ



-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (43+ messages)  latest in thread

Message-ID: <52177AD5.5010809@2ndQuadrant.com>
Permalink:  ../52177AD5.5010809@2ndQuadrant.com/
Also on:    postgresql.org/message-id/52177AD5.5010809@2ndQuadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: hannu@2ndQuadrant.com, tgl@sss.pgh.pa.us, andres@2ndquadrant.com, alvherre@2ndquadrant.com, josh@agliodbs.com
  Subject: Re: pg_system_identifier()
  In-Reply-To: <52177AD5.5010809@2ndQuadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox