Re: uuid for each postgres install?

From: Gerardo Herzig <gherzig(at)fmed(dot)uba(dot)ar>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: uuid for each postgres install?
Date: 2014-09-25 21:56:01
Message-ID: 1020625502.926135.1411682161823.JavaMail.root@fmed.uba.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Well, thats are good news. At least its a good starting point.
Thanks Adrian!

Gerardo

----- Mensaje original -----
> De: "Adrian Klaver" <adrian(dot)klaver(at)aklaver(dot)com>
> Para: pgsql-sql(at)postgresql(dot)org
> Enviados: Jueves, 25 de Septiembre 2014 17:18:17
> Asunto: Re: [SQL] uuid for each postgres install?
>
> On 09/25/2014 01:02 PM, Gerardo Herzig wrote:
> > Hi all. Im wondering if there is, maybe at compilation time, some
> > sort of unique identifier who identifies the actual installation.
> >
> > It would be even better if can be accesed in SQL form.
> > At "initdb" time would be accepted, too.
>
> initdb does create a Database system identifier which can seen using
> pg_controldata:
>
> postgres(at)killi:~> pg_controldata /usr/local/pgsql/data
> pg_control version number: 903
> Catalog version number: 201008051
> Database system identifier: 5861256043884404217
> Database cluster state: shut down
>
> A quick search showed that folks would like an SQL way of getting
> this
> and that none is available as far as I can determine. The only
> solution
> I could find was grepping the pg_controldata output.
>
> >
> >
> > Thanks!
> >
> > Gerardo
> >
> >
>
>
> --
> Adrian Klaver
> adrian(dot)klaver(at)aklaver(dot)com
>
>
> --
> Sent via pgsql-sql mailing list (pgsql-sql(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-sql
>

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Ian Lawrence Barwick 2014-09-25 22:32:19 Re: uuid for each postgres install?
Previous Message Adrian Klaver 2014-09-25 20:18:17 Re: uuid for each postgres install?