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

From Thomas G. Lockhart
Subject Re: Glibc2 (was Re: [HACKERS] PostgreSQL - the Linux of Databases...)
Date
Msg-id 34FE1158.463BC980@alumni.caltech.edu
Whole thread Raw
In response to Re: Glibc2 (was Re: [HACKERS] PostgreSQL - the Linux of Databases...)  (plh@opim.uconn.edu)
Responses Re: Glibc2 (was Re: [HACKERS] PostgreSQL - the Linux of Databases...)  (Cristian Gafton <gafton@redhat.com>)
List 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 by date:

Previous
From: Brett McCormick
Date:
Subject: Re: [HACKERS] alpha/64bit weirdness
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] alpha/64bit weirdness