Re: how to get unique identifier for a client - Mailing list pgsql-general

From Grzegorz Jaśkiewicz
Subject Re: how to get unique identifier for a client
Date
Msg-id 2f4958ff0810100316n6b033dc2qce556b8e97e9e269@mail.gmail.com
Whole thread Raw
In response to how to get unique identifier for a client  (gorsa <gorsa.1972@gmail.com>)
List pgsql-general
I would gather all possible inputs of data that you can use for it. 
Will the data be stored in one place for all customers ? if so - you'll be okay with uuid of some sort, as primary key on a table.
if you need data to depend on outside data, either write a query, that would generate it, taking those outside params as input, or write C procedure, that will gather that data, and return some unique key. 

So it all depends on what are you actually trying to achieve. 

pgsql-general by date:

Previous
From: gorsa
Date:
Subject: how to get unique identifier for a client
Next
From: Sebastian Pawłowski
Date:
Subject: flood in logs