Search Postgresql Archives

Re: uuid_hash declaration

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

 



On Monday 13 July 2009 06:54:54 Tom Lane wrote:
> Alvaro Herrera <alvherre@xxxxxxxxxxxxxxxxx> writes:
> > If that's the problem, my 2c is that uuid_hash is too generic a name to
> > export and we should change ours.
>
> Too late for existing releases (since it would force initdb to fix the
> pg_proc entry).  We could change it in HEAD, but how much will that
> really help?

Well, atm I'm looking for what should be in #else clause or elsewhere in the 
code if I did something like:
#ifndef HAVE_UUID_BSD
extern Datum uuid_hash(PG_FUNCTION_ARGS);
#else
extern Datum uuid_hash2(PG_FUNCTION_ARGS);
#endif

that would still make the uuid_hash available in the SQL language. I'd be 
happy to write some migration utilities, once I get more familiar with the 
code. Right now, I'm just trying to make a drop-in replacement for the ossp-
uuid module.
-- 
Mel

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[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