Thread: bison version

bison version

From
ohp@pyrenet.fr
Date:
Hi,

I'd like to check 2 things:

What's the bison version required to compile gram.y ?
Trying to set up a build farm machine, it seems I can't compile with bison
2.1 ...

Also where is the documentation page that gives postgresql limits (number
of column/table max size of col....)

Many thanks

-- 
Olivier PRENANT                    Tel: +33-5-61-50-97-00 (Work)
15, Chemin des Monges                +33-5-61-50-97-01 (Fax)
31190 AUTERIVE                       +33-6-07-63-80-64 (GSM)
FRANCE                          Email: ohp@pyrenet.fr
------------------------------------------------------------------------------
Make your life a dream, make your dream a reality. (St Exupery)


Re: bison version

From
Stefan Kaltenbrunner
Date:
ohp@pyrenet.fr wrote:
> Hi,
> 
> I'd like to check 2 things:
> 
> What's the bison version required to compile gram.y ?
> Trying to set up a build farm machine, it seems I can't compile with bison
> 2.1 ...

2.1 should work fine - there are a number of boxes on the buildfarm
running with that version (like sponge the FC5/ppc I own).
What exact problem do you see on your platform ?

> 
> Also where is the documentation page that gives postgresql limits (number
> of column/table max size of col....)

http://www.postgresql.org/docs/faqs.FAQ.html#item4.4


Stefan


Re: bison version

From
Bruce Momjian
Date:
ohp@pyrenet.fr wrote:
> Hi,
> 
> I'd like to check 2 things:
> 
> What's the bison version required to compile gram.y ?
> Trying to set up a build farm machine, it seems I can't compile with bison
> 2.1 ...

1.875

> Also where is the documentation page that gives postgresql limits (number
> of column/table max size of col....)

FAQ.

--  Bruce Momjian   http://candle.pha.pa.us EnterpriseDB    http://www.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


Re: bison version

From
ohp@pyrenet.fr
Date:
Hi Stefan,

Here's my make.log FWIW...

TIA
On Sat, 10 Jun 2006, Stefan Kaltenbrunner wrote:

> Date: Sat, 10 Jun 2006 21:10:09 +0200
> From: Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>
> To: ohp@pyrenet.fr
> Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
> Subject: Re: [HACKERS] bison version
>
> ohp@pyrenet.fr wrote:
> > Hi,
> >
> > I'd like to check 2 things:
> >
> > What's the bison version required to compile gram.y ?
> > Trying to set up a build farm machine, it seems I can't compile with bison
> > 2.1 ...
>
> 2.1 should work fine - there are a number of boxes on the buildfarm
> running with that version (like sponge the FC5/ppc I own).
> What exact problem do you see on your platform ?
>
> >
> > Also where is the documentation page that gives postgresql limits (number
> > of column/table max size of col....)
>
> http://www.postgresql.org/docs/faqs.FAQ.html#item4.4
>
>
> Stefan
>

-- 
Olivier PRENANT                    Tel: +33-5-61-50-97-00 (Work)
15, Chemin des Monges                +33-5-61-50-97-01 (Fax)
31190 AUTERIVE                       +33-6-07-63-80-64 (GSM)
FRANCE                          Email: ohp@pyrenet.fr
------------------------------------------------------------------------------
Make your life a dream, make your dream a reality. (St Exupery)

Re: bison version

From
Tom Lane
Date:
ohp@pyrenet.fr writes:
> Here's my make.log FWIW...
> ...
> gram.y:7074.27-7077.33: warning: useless rule: b_expr: b_expr IS OF '(' type_list ')'
> gram.y:7078.27-7081.33: warning: useless rule: b_expr: b_expr IS NOT OF '(' type_list ')'
> gmake[3]: *** [parse.h] Segmentation Fault (core dumped)

The fact that bison dumps core after emitting all those bogus
messages suggests to me that you've got a broken copy of bison.
        regards, tom lane


Re: bison version

From
ohp@pyrenet.fr
Date:
Yep!
I reverted to 1.875 and it works, I'll be a member of build farm soon for
UnixWare.

On Sun, 11 Jun 2006, Tom Lane wrote:

> Date: Sun, 11 Jun 2006 11:21:20 -0400
> From: Tom Lane <tgl@sss.pgh.pa.us>
> To: ohp@pyrenet.fr
> Cc: Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>,
>      PostgreSQL-development <pgsql-hackers@postgresql.org>
> Subject: Re: [HACKERS] bison version
>
> ohp@pyrenet.fr writes:
> > Here's my make.log FWIW...
> > ...
> > gram.y:7074.27-7077.33: warning: useless rule: b_expr: b_expr IS OF '(' type_list ')'
> > gram.y:7078.27-7081.33: warning: useless rule: b_expr: b_expr IS NOT OF '(' type_list ')'
> > gmake[3]: *** [parse.h] Segmentation Fault (core dumped)
>
> The fact that bison dumps core after emitting all those bogus
> messages suggests to me that you've got a broken copy of bison.
>
>             regards, tom lane
>

-- 
Olivier PRENANT                    Tel: +33-5-61-50-97-00 (Work)
15, Chemin des Monges                +33-5-61-50-97-01 (Fax)
31190 AUTERIVE                       +33-6-07-63-80-64 (GSM)
FRANCE                          Email: ohp@pyrenet.fr
------------------------------------------------------------------------------
Make your life a dream, make your dream a reality. (St Exupery)