General Bug Report: yacc runs out of resources - Mailing list pgsql-bugs

From Unprivileged user
Subject General Bug Report: yacc runs out of resources
Date
Msg-id 10b043ebfd8e200aa8072d2cb29e3cb3
Whole thread Raw
List pgsql-bugs
============================================================================
                        POSTGRESQL BUG REPORT TEMPLATE
============================================================================


Your name        : Craig Orsinger
Your email address    : orsingerc@epg.lewis.army.mil

Category        : install: compile
Severity        : critical

Summary: yacc runs out of resources

System Configuration
- --------------------
  Operating System   : HPUX 10.20

  PostgreSQL version : 6.4

  Compiler used      : cc -Ae

Hardware:
- ---------
HP 715/100 workstation
HP-UX delenn B.10.20 A 9000/715 2011427034 two-user license

Versions of other tools:
- ------------------------
gmake 3.74, flex 2.5.4, yacc that came with system

- --------------------------------------------------------------------------

Problem Description:
- --------------------
While processing most of the yacc files in the distribution,
the HPUX version of yacc runs out of resources.


- --------------------------------------------------------------------------

Test Case:
- ----------
Just compile either the 6.3.2 or 6.4 distribution on an
HPUX system that uses the HP version of yacc.


- --------------------------------------------------------------------------

Solution:
- ---------
Changing the value of the YFLAGS macro to:

- -d -Np2400 -Ns6000 -Nm90000 -Nl2400 -Na24000 -Nc10000

cures this. These may not be the optimal settings, but they
work. I suggest changing the value of this macro in the
file "src/template/hpux_cc" to preclude this happening to
to others.

- --------------------------------------------------------------------------

pgsql-bugs by date:

Previous
From: Unprivileged user
Date:
Subject: General Bug Report: backend terminated while attempting to use large objects
Next
From: Unprivileged user
Date:
Subject: General Bug Report: 6.2 pg_dump output unparseable by 6.4 psql