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

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Douglas Carmichael <dcarmich(at)chef(dot)ourservers(dot)net>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Patch for PostgreSQL 7.0.3 to compile on Tru64 UNIX v5.0A with Compaq C T6.4-212 (dtk)
Date: 2001-04-16 04:15:33
Message-ID: 200104160415.AAA02737@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


Please try 7.1. It should work fine.

> ============================================================================
> POSTGRESQL BUG REPORT TEMPLATE
> ============================================================================
>
>
> Your name : Douglas Carmichael
> Your email address : dcarmich(at)ourservers(dot)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
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2001-04-16 04:20:44 Re: faq-japanese updated
Previous Message Tom Lane 2001-04-16 03:28:39 Re: Patch for catching incompatible types in fk constraints