Re: pg_system_identifier() - Mailing list pgsql-hackers

From Hannu Krosing
Subject Re: pg_system_identifier()
Date
Msg-id 52177AD5.5010809@2ndQuadrant.com
Whole thread Raw
In response to Re: pg_system_identifier()  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pg_system_identifier()  (Greg Stark <stark@mit.edu>)
List pgsql-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Ü




pgsql-hackers by date:

Previous
From: Dimitri Fontaine
Date:
Subject: Re: pg_system_identifier()
Next
From: Greg Stark
Date:
Subject: Re: pg_system_identifier()