Re: [PORTS] Port Bug Report: yacc bombs table size

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Andreas Hohl <vader(at)comtelligence(dot)net>
Cc: pgsql-ports(at)postgreSQL(dot)org
Subject: Re: [PORTS] Port Bug Report: yacc bombs table size
Date: 1999-05-05 21:46:28
Message-ID: 199905052146.RAA09124@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

> ---------
> BSD/OS publish.co.jp 4.0.1 BSDI BSD/OS 4.0.1 Kernel #4: Fri Feb 19 11:52:44 MST
> 1999 polk(at)demiurge(dot)BSDI(dot)COM:/home/polk/tmp/sys/compile/GENERIC i386
>
> Versions of other tools:
> ------------------------
> gmake
>
> --------------------------------------------------------------------------
>
> Problem Description:
> --------------------
> gmake[2]: Leaving directory `/usr/src/pgsql/src/backend/optimizer'
> gmake -C parser all
> gmake[2]: Entering directory `/usr/src/pgsql/src/backend/parser'
> /usr/bin/yacc -d gram.y
> /usr/bin/yacc: f - maximum table size exceeded
> gmake[2]: *** [parse.h] Error 2
> gmake[2]: Leaving directory `/usr/src/pgsql/src/backend/parser'
> gmake[1]: *** [parser.dir] Error 2
> gmake[1]: Leaving directory `/usr/src/pgsql/src/backend'
> gmake: *** [all] Error 2
>

You should do a touch on src/backend/parser/gram.c, and all will be OK.
You can also use bison, but there is no need.

Also, let me say I am totally embarased we can't get the time stamp on
gram.c to be correct in releases. We may as well just stop trying to
get this right in releases, and force BSD people to use bison.

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

In response to

Browse pgsql-ports by date

  From Date Subject
Next Message Unprivileged user 1999-05-06 14:45:31 Port Bug Report: unable to delete table due to "heap_delete" error
Previous Message Unprivileged user 1999-05-05 16:27:30 Port Bug Report: yacc bombs table size