Patch for PostgreSQL 7.0.3 to compile on Tru64 UNIX v5.0A with Compaq C T6.4-212 (dtk)

Поиск
Список
Период
Сортировка
От Douglas Carmichael
Тема Patch for PostgreSQL 7.0.3 to compile on Tru64 UNIX v5.0A with Compaq C T6.4-212 (dtk)
Дата
Msg-id 009FA94E.A6A78DAF.2@mail.ourservers.net
обсуждение исходный текст
Ответы Re: Patch for PostgreSQL 7.0.3 to compile on Tru64 UNIX v5.0A with Compaq C T6.4-212 (dtk)  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Patch for PostgreSQL 7.0.3 to compile on Tru64 UNIX v5.0A with Compaq C T6.4-212 (dtk)  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: Patch for PostgreSQL 7.0.3 to compile on Tru64 UNIX v5.0A with Compaq C T6.4-212 (dtk)  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-patches
============================================================================
                        POSTGRESQL BUG REPORT TEMPLATE
============================================================================


Your name        :    Douglas Carmichael
Your email address    :    dcarmich@ourservers.net


System Configuration
---------------------
  Architecture (example: Intel Pentium)      : DEC/Compaq Alpha

  Operating System (example: Linux 2.0.26 ELF)     : Compaq Tru64 UNIX v5.0A rev 1094

  PostgreSQL version (example: PostgreSQL-7.0):   PostgreSQL-7.0.3

  Compiler used (example:  gcc 2.8.0)        : Compaq C T6.4-212 (dtk)


Please enter a FULL description of your problem:
------------------------------------------------

I have patches to src/backend/utils/adt/float.c and
src/backend/utils/adt/numeric.c to get PostgreSQL 7.0.3 to compile on Tru64
v5.0A with Compaq C T6.4-212 (dtk).

Please describe a way to repeat the problem.   Please try to provide a
concise reproducible example, if at all possible:
----------------------------------------------------------------------


N/A


If you know how this problem might be fixed, list the solution below:
---------------------------------------------------------------------


diff -cr postgresql-7.0.3_old/src/backend/utils/adt/float.c postgresql-7.0.3/src/backend/utils/adt/float.c
*** postgresql-7.0.3_old/src/backend/utils/adt/float.c    Wed Apr 12 12:15:49 2000
--- postgresql-7.0.3/src/backend/utils/adt/float.c    Fri Apr 13 22:13:10 2001
***************
*** 68,74 ****
  #include "utils/builtins.h"

  #ifndef NAN
! #define NAN        (0.0/0.0)
  #endif

  #ifndef SHRT_MAX
--- 68,74 ----
  #include "utils/builtins.h"

  #ifndef NAN
! #define NAN        0
  #endif

  #ifndef SHRT_MAX
diff -cr postgresql-7.0.3_old/src/backend/utils/adt/numeric.c postgresql-7.0.3/src/backend/utils/adt/numeric.c
*** postgresql-7.0.3_old/src/backend/utils/adt/numeric.c    Wed Apr 12 12:15:50 2000
--- postgresql-7.0.3/src/backend/utils/adt/numeric.c    Fri Apr 13 22:15:55 2001
***************
*** 41,47 ****
  #endif

  #ifndef NAN
! #define NAN        (0.0/0.0)
  #endif


--- 41,47 ----
  #endif

  #ifndef NAN
! #define NAN           0
  #endif

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

Предыдущее
От: Neil Conway
Дата:
Сообщение: PATCH: JDBC compile w/ jikes
Следующее
От: Stephan Szabo
Дата:
Сообщение: Patch for catching incompatible types in fk constraints