Re: how to get unique identifier for a client

From: Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>
To: gorsa <gorsa(dot)1972(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: how to get unique identifier for a client
Date: 2008-10-10 10:16:20
Message-ID: 2f4958ff0810100316n6b033dc2qce556b8e97e9e269@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Marco Colombo 2008-10-10 10:43:05 Re: Frustrated...pg_dump/restore
Previous Message gorsa 2008-10-10 09:38:08 how to get unique identifier for a client