Re: plpgsql requires bison - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: plpgsql requires bison
Date
Msg-id 199908162012.QAA11291@candle.pha.pa.us
Whole thread Raw
In response to Re: plpgsql requires bison  (wieck@debis.com (Jan Wieck))
List pgsql-hackers
> Bruce Momjian wrote:
> 
> >
> > I have received a report that pl/plpgsql requires bison to compile.  I
> > have verified this is true, at least on BSD/OS 4.01, and since we enable
> > plpgsql compile by default, this requires bison for our standard build.
> >
> > The issue appears to be contents of gram.tab.c, which is part of our
> > distribution, and contains at the top:
> >
> > [...]
> >
> > Jan, is this a known portability problem?
> 
>     I  had expected portability problems with the PL/pgSQL parser
>     and suggested to put prepared flex/bison  output  files  into
>     our  distribution  as  we  do it for the main backend parser.
>     Unfortunately I forgot about it.

OK, I have fixed the problem by testing to see if I am running Bison,
and doing the include in the proper place.

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: "Ross J. Reedstrom"
Date:
Subject: Re: [HACKERS] Long table names
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] RECODE patches