List:General Discussion« Previous MessageNext Message »
From:Luciano Furtado Date:January 20 2011 7:58pm
Subject:Re: best way to have a unique key
View as plain text  
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

What conflicts are you expecting? according to the documentation:

A UUID is designed as a number that is globally unique in space and
time. Two calls to UUID() are expected to generate two different
values, even if these calls are performed on two separate computers
that are not connected to each other.

On 11-01-20 14:11, Anthony Pace wrote:
> I know of uuid() my problem is that there can be conflicts when copying
> the DB to a different machine, or working with sections of the db on
> different machines for load balancing.
> 
> On 1/20/2011 1:44 PM, Krishna Chandra Prajapati wrote:
>> >  Please keep in mind this variable will also be displayed on the
>> customer's
>> >  Receipt, but again, since it's random, it doesn't have to mean
>> anything.
> 
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNOJQBAAoJENgwSj9ZOOwr7NcIAJUVGGPhtiRRrNjrSUBZiO4c
0tsAKbsugnlJ7EI/61ALD8UCelBKKvDnRD0MFfCLHLTukbPkF+4YmwAi1tOMVo0J
OteGOxXroo0dZhKt6/SommvtM9uXnHT6WJiTs8w5uP/TEUmqIECp4x3M0Fwjs9HY
HzV/Tqo/pqlBpbdagahm+pm+9mK+g5AYR7xenBXwynu05XqClUCptSdh6NIhnBD5
fLw9e6AVOAeG1sbswR51pFtuDpXT0IlHn3U/7rdIioglYakphT21MQ5oM2kuTuis
LE3xAR/YydiKa9GUPfghR/+0Xp7DGes1+HAXq4dkmnSWFEw218Jt5y6r131/EPg=
=fra3
-----END PGP SIGNATURE-----

Thread
best way to have a unique keyAnthony Pace20 Jan
  • Re: best way to have a unique keyKrishna Chandra Prajapati20 Jan
    • Re: best way to have a unique keyAnthony Pace20 Jan
      • Re: best way to have a unique keyLuciano Furtado20 Jan
    • RE: best way to have a unique keyDaevid Vincent20 Jan
Re: best way to have a unique keyAnthony Pace20 Jan
  • Re: best way to have a unique keyAnthony Pace20 Jan
    • Re: best way to have a unique keyMichael Dykman20 Jan
  • Re: best way to have a unique keyJohan De Meersman21 Jan
    • RE: best way to have a unique keyJerry Schwartz21 Jan
      • Re: best way to have a unique keyMichael Satterwhite21 Jan
    • Re: best way to have a unique keyMichael Dykman21 Jan
      • RE: best way to have a unique keyJerry Schwartz21 Jan