SunOS4 port

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема SunOS4 port
Дата
Msg-id 20011205114916Z.t-ishii@sra.co.jp
обсуждение исходный текст
Ответы Re: SunOS4 port  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: SunOS4 port  (Karel Zak <zakkr@zf.jcu.cz>)
Список pgsql-hackers
So far I think I have done the SunOS4 port except the parallel
regression test. Unfortunately the machine is in production and I
could not increase the shmem parameters. Instead I have done the
serial test and got 4 errors (see attached regression.diffs). Also I
noticed that the test script uses diff -C3 which is not available on
all platforms.

BTW, this effort might be the last one since my company would give up
to maintain SunOS4 machines in the near future.

Karel, Could you check my modifications to formatting.c?

RCS file: /cvsroot/pgsql/src/backend/utils/adt/formatting.c,v
retrieving revision 1.45
diff -c -r1.45 formatting.c
*** formatting.c    2001/11/19 09:05:01    1.45
--- formatting.c    2001/12/05 02:04:25
***************
*** 4140,4146 ****                         Np->inout_p += strlen(Np->inout_p) - 1;                     }
    else
 
!                         Np->inout_p += sprintf(Np->inout_p, "%15s", Np->number_p) - 1;                     break;
            case NUM_rn:
 
--- 4140,4149 ----                         Np->inout_p += strlen(Np->inout_p) - 1;                     }
    else
 
!                     {
!                         sprintf(Np->inout_p, "%15s", Np->number_p);
!                         Np->inout_p += strlen(Np->inout_p) - 1;
!                     }                     break;                  case NUM_rn:
***************
*** 4150,4156 ****                         Np->inout_p += strlen(Np->inout_p) - 1;                     }
    else
 
!                         Np->inout_p += sprintf(Np->inout_p, "%15s", str_tolower(Np->number_p)) - 1;
 break;                  case NUM_th:
 
--- 4153,4162 ----                         Np->inout_p += strlen(Np->inout_p) - 1;                     }
    else
 
!                     {
!                         sprintf(Np->inout_p, "%15s", str_tolower(Np->number_p));
!                         Np->inout_p += strlen(Np->inout_p) - 1;
!                     }                     break;                  case NUM_th:
***************
*** 4664,4670 ****         }          orgnum = (char *) palloc(MAXFLOATWIDTH + 1);
!         len = sprintf(orgnum, "%.0f", fabs(val));         if (Num.pre > len)             plen = Num.pre - len;
if (len >= FLT_DIG)
 
--- 4670,4677 ----         }          orgnum = (char *) palloc(MAXFLOATWIDTH + 1);
!         sprintf(orgnum, "%.0f", fabs(val));
!         len = strlen(orgnum);         if (Num.pre > len)             plen = Num.pre - len;         if (len >=
FLT_DIG)

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

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: Re: Undocumented feature costs a lot of performance in
Следующее
От: Tom Lane
Дата:
Сообщение: Re: SunOS4 port