Cygwin PostgreSQL CVS Patch

Поиск
Список
Период
Сортировка
От Jason Tishler
Тема Cygwin PostgreSQL CVS Patch
Дата
Msg-id 20030507204543.GE1640@tishler.net
обсуждение исходный текст
Ответы Re: Cygwin PostgreSQL CVS Patch  (Jason Tishler <jason@tishler.net>)
Re: Cygwin PostgreSQL CVS Patch  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: Cygwin PostgreSQL CVS Patch  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
The attached patch enables PostgreSQL CVS to build under Cygwin again.
It corrects the problems reported in the following mailing list thread:

    http://archives.postgresql.org/pgsql-cygwin/2003-04/msg00048.php

and a few others.

The following is a summary of the proposed changes:

1. include/port/cygwin.h:

   Remove #include to port/win32defs.h which is obsolete.

2. include/utils/elog.h:

   Add DLLIMPORT to error_context_stack.

3. interfaces/ecpg/Makefile:

   Change build order so pgtypeslib is built before ecpglib and
   compatlib which depend on it.

4. interfaces/ecpg/compatlib/Makefile:

   Add link with -lpgtypes under Cygwin.

   Note: There maybe a better way to affect this change -- I'm quite
   open to suggestions.

5. interfaces/ecpg/compatlib/informix.c:

   Change strndup() prototype to be consistent with a system supplied
   one to prevent compilation errors.

   Note: This change should probably be handled via autoconf, but I'm
   hoping that maybe Michael Meskes would be willing to do this. :,)

6. interfaces/ecpg/ecpglib/Makefile:

   Add link with -lpgtypes under Cygwin.

   Note: There maybe a better way to affect this change -- I'm quite
   open to suggestions.

7. interfaces/ecpg/include/sqlca.h:

   Change DLLIMPORT definition to export functions when building a DLL.

8. makefiles/Makefile.cygwin:

   Change an ecpg path to match the current directory structure.

Thanks,
Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

Вложения

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

Предыдущее
От: "Matthew T. O'Connor"
Дата:
Сообщение: pg_autovacuum update
Следующее
От: Bruce Momjian
Дата:
Сообщение: Pass shared memory address to exec'ed backend