uuid_hash declaration

Поиск
Список
Период
Сортировка
От Mel Flynn
Тема uuid_hash declaration
Дата
Msg-id 200907130001.51246.mel.flynn+pgsql@mailing.thruhere.net
обсуждение исходный текст
Ответы Re: uuid_hash declaration
Список pgsql-general
Hi,

I'm trying to write a uuid extension using the FreeBSD libc uuid(3). I quickly
came to the conclusion it won't work, because:
/usr/include/uuid.h:54: error: conflicting types for 'uuid_hash'
../../src/include/utils/builtins.h:1010: error: previous declaration of
'uuid_hash' was here

Is there a way in the API to tell the backend that "uuid_hash function is
implemented by the foo__uuid_hash function" so that backwards compatibility
isn't broken?

There's 2 reasons I want this extension:
a) minimize external dependencies
b) conflict with e2fsprogs libuuid, required by my samba3 installation.

--
Mel

В списке pgsql-general по дате отправления:

Предыдущее
От: Johan Nel
Дата:
Сообщение: PG binary images in bytea column
Следующее
От: "Albe Laurenz"
Дата:
Сообщение: Re: Design question: Should "postgres" own all the db objects?