Fix for PSQL 7.2.2 doesn't compile on OS X 10.2

Поиск
Список
Период
Сортировка
Искать
От
jld123@pobox.com
Тема
Fix for PSQL 7.2.2 doesn't compile on OS X 10.2
Дата
Msg-id
3D8A7AB7.B23BD3E3@pobox.com
Список
Дерево обсуждения
Fix for PSQL 7.2.2 doesn't compile on OS X 10.2 jld123@pobox.com
Re: Fix for PSQL 7.2.2 doesn't compile on OS X 10.2 Deron Brookins <deron.brookins@verizon.net>
select for update problem (maybe mine) Theodore Petrosky <tedpet5@yahoo.com>
Hello,

    I took a crack at fixing this one myself.  It turns out there are
(of course) header differences between 10.1 and 10.2

   I found a fix, but I'm sure a careful analysis would find a better
one - I just copied over the current system header file into the
psql tree, and tweaked it.

   The fix is as follows (on a 10.2 system):

cd src/include/port/darwin
cp sem.h sem.h.orig
cp /usr/include/sys/sem.h .

then comment out the following lines at the end of sem.h:

/*
__BEGIN_DECLS
int semsys __P((int, ...));
int semctl __P((int, int, int, union semun));
int semget __P((key_t, int, int));
int semop __P((int, struct sembuf *,unsigned));
__END_DECLS
*/

Best Regards,

    Lee Nelson

P.S. I'm just a hapless user, so please don't flame me for the cheesy 
fix.  :)
В списке pgsql-bugs по дате отправления
От: elein <elein@norcov.com>(by way of elein <elein@norcov.com>)
Дата:
Сообщение: 7.3 Doc Bug in plpython
От: Bruce Momjian
Дата:
FAQ