Search Postgresql Archives

Re: UUID as primary key

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Can you give a link to the PostgreSQL binding?  I haven't been able to
find it there.  All I see is C, Perl and PHP bindings for the generation
of UUIDs, and nothing about storage.

(For my application, as it happens, I don't need to generate UUIDs in
the database, but I recognize that would be useful.)

    Vance 

> 
>     Ralf Engelschall's OSSP uuid looks very good. Written in C with
>     interfaces into PostgreSQL, PHP and C++ (classes wrapping the C
>     structures and functions).
> 
>     http://www.ossp.org/pkg/lib/uuid/
> 
>     You should be able to e. g.
> 
>     CREATE TABLE t (id UUID DEFAULT 'uuid(4)' PRIMARY KEY);
> 
> -- 
> How many Vietnam vets does it take to screw in a light bulb?
> You don't know, man.  You don't KNOW.
> Cause you weren't THERE.             http://bash.org/?255991
> 


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux