Re: Glibc2 (was Re: [HACKERS] PostgreSQL - the Linux of Databases...)

Поиск
Список
Период
Сортировка
От Thomas G. Lockhart
Тема Re: Glibc2 (was Re: [HACKERS] PostgreSQL - the Linux of Databases...)
Дата
Msg-id 34FE1158.463BC980@alumni.caltech.edu
обсуждение исходный текст
Ответ на Re: Glibc2 (was Re: [HACKERS] PostgreSQL - the Linux of Databases...)  (plh@opim.uconn.edu)
Ответы Re: Glibc2 (was Re: [HACKERS] PostgreSQL - the Linux of Databases...)  (Cristian Gafton <gafton@redhat.com>)
Список pgsql-hackers
Got a good install from Cristian's latest Postgres rpm and the Feb 24 glibc2
found in his home area. Passed the "one minute" test.

Thanks Cristian! What was the secret? Was it the compiler, or -O setting, or ??

btw, there is a one-line patch you could apply before doing a full release; it
fixes an obscure but occasionally useful feature in the type support code. I
haven't committed it to the source tree yet.

                                                  - Tom
*** ../src/backend/utils/fmgr/fmgr.c.orig    Thu Feb 26 04:37:40 1998
--- ../src/backend/utils/fmgr/fmgr.c    Wed Mar  4 13:44:55 1998
***************
*** 199,204 ****
--- 199,205 ----
                  if (!finfo->fn_addr)
                      elog(ERROR, "fmgr_info: function %s: not in internal table",
                           procedureStruct->proname.data);
+                 finfo->fn_nargs = procedureStruct->pronargs;
                  break;
              case ClanguageId:
                  finfo->fn_addr = fmgr_dynamic(procedureId, &(finfo->fn_nargs));

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

Предыдущее
От: Brett McCormick
Дата:
Сообщение: Re: [HACKERS] alpha/64bit weirdness
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] alpha/64bit weirdness