ossp-uuid Contrib Patch

Поиск
Список
Период
Сортировка
От David E. Wheeler
Тема ossp-uuid Contrib Patch
Дата
Msg-id 62FDD311-1AFC-4296-95D8-5751D1407B71@justatheory.com
обсуждение исходный текст
Ответы Re: ossp-uuid Contrib Patch  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hackers,

I ran into an issue building 9.2 with the OSSP UUID module today. A bit of Googling and I found that the MacPorts guys
raninto the same issue a few weeks ago. Their discussion: 
 https://trac.macports.org/ticket/35153

And the fix:

https://trac.macports.org/browser/trunk/dports/databases/postgresql91/files/postgresql-uuid-ossp.patch?rev=96142

So should we do this in core, too?

Oh, I see Tom already commented on it here:
 http://archives.postgresql.org/pgsql-general/2012-07/msg00656.php

I had installed 9.2rc1 a few weeks ago, but since then I upgraded to Mountain Lion. I suspect that is what mucked up
theunistd.h ordering issue. 

The patch:

diff --git a/contrib/uuid-ossp/uuid-ossp.c b/contrib/uuid-ossp/uuid-ossp.c
index d4fc62b..62b28ca 100644
--- a/contrib/uuid-ossp/uuid-ossp.c
+++ b/contrib/uuid-ossp/uuid-ossp.c
@@ -9,6 +9,7 @@ *------------------------------------------------------------------------- */
+#define _XOPEN_SOURCE#include "postgres.h"#include "fmgr.h"#include "utils/builtins.h"

Best,

David




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

Предыдущее
От: Daniel Farina
Дата:
Сообщение: Re: Proof of concept: standalone backend with full FE/BE protocol
Следующее
От: Tom Lane
Дата:
Сообщение: Re: ossp-uuid Contrib Patch