Re: [HACKERS] initdb problem - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] initdb problem
Date
Msg-id 199808261637.MAA14889@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] initdb problem  (Michael Meskes <meskes@online-club.de>)
List pgsql-hackers
> On Tue, Aug 25, 1998 at 01:45:33PM -0400, Bruce Momjian wrote:
> > That is the problem.  I don't have an fmgr.h file in include, just in
> > backend/fmgr.h.  It is finding an old one first.  It was not a problem
> > as long as no one made changes to the system tables, but I did.
> >
> > That is why the clean cvsup worked for people.  How the fmgr.h file got
> > into include, I have no idea.
> >
> > The only 683 I get from the source are labels in gram.c.
> >
> > Remove the file and recompile.
>
> I did and it works! Thanks a lot. I also tried the ecpg examples. Two ran
> fine, but the perftest.pgc example gets:
>
> postgres@feivel:~/pgsql/src/interfaces/ecpg.mm/test$ ./perftest
> I needed 14 seconds and 618584 microseconds for the insert test.
> sql error Error: ERROR: fmgr_info: function 28261: cache lookup failed
>
>  line 19.
>
> line 19 is exec sql vacuum.
>
> BTW the UNLISTEN symbol is undefined in gram.y and here's a minor patch to
> be able to compile ecpg:

Patch applied.  I just did a grep, and not 28261 was not found in
/pgsql/src/include/catalog, so I assume some old binary is refering to
it.



--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Massimo patches
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] initdb problems