I'm trying to compile a co of REL_7_3_2 for my laptop (initially a
suse 7.3 install) and it fails w/ this from bison:

make -C preproc all
make[1]: Entering directory `.../pgsql-server-7.3.2/src/interfaces/ecpg/preproc'
bison -y -d  preproc.y
preproc.y:5560: fatal error: maximum table size (32767) exceeded
make[1]: *** [preproc.h] Error 1
make[1]: Leaving directory `.../pgsql-server-7.3.2/src/interfaces/ecpg/preproc'

I also tried using the HEAD version of preproc.y and that gave the
same error, but at line 5559.

Bison is 1.28.  Yacc (version 91.7.30) gives a similar error.

Is this a know issue?  Is it a bug in the installed versions of bison
and yacc?  (It has been over a decade since I last wrote a bison/yacc
file, and I suspect I've forgotten most everything I knew about them.)

My workwaround for now was just to remove ecpg from
interfaces/Makefile....

-JimC


26 Feb 2003 17:33:23 -0500
"James H. Cloos Jr." <cloos@jhcloos.com>
ecpg in REL7_3_2


--On Wednesday, February 26, 2003 17:33:23 -0500 "James H. Cloos Jr." 
<cloos@jhcloos.com> wrote:

> I'm trying to compile a co of REL_7_3_2 for my laptop (initially a
> suse 7.3 install) and it fails w/ this from bison:
>
> make -C preproc all
> make[1]: Entering directory
> `.../pgsql-server-7.3.2/src/interfaces/ecpg/preproc' bison -y -d
> preproc.y
> preproc.y:5560: fatal error: maximum table size (32767) exceeded
> make[1]: *** [preproc.h] Error 1
> make[1]: Leaving directory
> `.../pgsql-server-7.3.2/src/interfaces/ecpg/preproc'
>
> I also tried using the HEAD version of preproc.y and that gave the
> same error, but at line 5559.
>
> Bison is 1.28.  Yacc (version 91.7.30) gives a similar error.
you need Bison  1.50 or later.......



-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749




Wed, 26 Feb 2003 16:39:29 -0600
Larry Rosenman <ler@lerctr.org>
Re: ecpg in REL7_3_2
Larry Rosenman writes:
 > <cloos@jhcloos.com> wrote:
 > > Bison is 1.28.  Yacc (version 91.7.30) gives a similar error.
 > you need Bison  1.50 or later.......

Which you can get binary and src RPMs of from:

 http://services.csl.co.uk/postgresql/

L:

Thu, 27 Feb 2003 09:08:19 +0000
Lee Kindness <lkindness@csl.co.uk>
Re: ecpg in REL7_3_2