pl pgsql grammer file contains error

Lists: pgsql-general
From: Paramveer(dot)Singh(at)trilogy(dot)com
To: pgsql-general(at)postgresql(dot)org
Subject: pl pgsql grammer file contains error
Date: 2004-08-12 13:28:47
Message-ID: OFFAE63D31.489ECD7E-ONE5256EEE.004598B0@trilogy.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

hi!
I tried to extend the grammer for plpgsql by editing

postgresql-7.4.3/src/pl/plpgsql/src/gram.y

but as soon as you compile it (even without any changes)
it gives an error

user$ make
bison -y -d gram.y
/usr/bin/m4: ERROR: EOF in string

Has this been overlooked as the generated C file is also present in the
distro and no one noticed that the grammer file does not compile any more?

The database still installs and runs fine if installed using the configure
and make drill

thanks
paraM


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Paramveer(dot)Singh(at)trilogy(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pl pgsql grammer file contains error
Date: 2004-08-12 15:00:48
Message-ID: 28889.1092322848@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

Paramveer(dot)Singh(at)trilogy(dot)com writes:
> I tried to extend the grammer for plpgsql by editing
> postgresql-7.4.3/src/pl/plpgsql/src/gram.y
> but as soon as you compile it (even without any changes)
> it gives an error
> user$ make
> bison -y -d gram.y
> /usr/bin/m4: ERROR: EOF in string

What Bison version are you using? It appears to be broken.

> Has this been overlooked as the generated C file is also present in the
> distro and no one noticed that the grammer file does not compile any more?

Hardly.

regards, tom lane