[HACKERS] ERROR: parser: parse error at or near JOIN

2001-04-26 Thread Fernando Nasser

Is anyone else seeing this?

I have the current CVS sources and make check ends up with one
failure.  My regression.diffs shows:


*** ./expected/join.out Thu Dec 14 17:30:45 2000
--- ./results/join.out  Mon Apr 23 20:23:15 2001
***
*** 1845,1851 
  -- UNION JOIN isn't implemented yet
  SELECT '' AS xxx, *
FROM J1_TBL UNION JOIN J2_TBL;
! ERROR:  UNION JOIN is not implemented yet
  --
  -- Clean up
  --
--- 1845,1851 
  -- UNION JOIN isn't implemented yet
  SELECT '' AS xxx, *
FROM J1_TBL UNION JOIN J2_TBL;
! ERROR:  parser: parse error at or near JOIN
  --
  -- Clean up
  --

==


-- 
Fernando Nasser
Red Hat Canada Ltd. E-Mail:  [EMAIL PROTECTED]
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9

---(end of broadcast)---
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly



Re: [HACKERS] ERROR: parser: parse error at or near JOIN

2001-04-26 Thread Fernando Nasser

Please disregard this.  This message was held by Majordomo for a couple
of days and I have already resent it.

Tom Lane has already solved my problem (I had a miscompiled version of
bison in my machine).

Regards to all,
Fernando


Fernando Nasser wrote:
 
 Is anyone else seeing this?
 
 I have the current CVS sources and make check ends up with one
 failure.  My regression.diffs shows:
 
 *** ./expected/join.out Thu Dec 14 17:30:45 2000
 --- ./results/join.out  Mon Apr 23 20:23:15 2001
 ***
 *** 1845,1851 
   -- UNION JOIN isn't implemented yet
   SELECT '' AS xxx, *
 FROM J1_TBL UNION JOIN J2_TBL;
 ! ERROR:  UNION JOIN is not implemented yet
   --
   -- Clean up
   --
 --- 1845,1851 
   -- UNION JOIN isn't implemented yet
   SELECT '' AS xxx, *
 FROM J1_TBL UNION JOIN J2_TBL;
 ! ERROR:  parser: parse error at or near JOIN
   --
   -- Clean up
   --
 

-- 
Fernando Nasser
Red Hat Inc. E-Mail:  [EMAIL PROTECTED]

---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]



Re: [HACKERS] ERROR: parser: parse error at or near JOIN

2001-04-25 Thread Fernando Nasser

Tom Lane wrote:
 
 Fernando Nasser [EMAIL PROTECTED] writes:
  Is anyone else seeing this?
 
 No.
 
  I have the current CVS sources and make check ends up with one
  failure.  My regression.diffs shows:
 
 I think you must have built gram.c with a broken bison or yacc.  What
 exactly is configure picking, and what version is it?
 

Yes you are right.

With:

[12:03:04]  flex -V
flex version 2.5.4
  
[12:03:08]  bison -V
GNU Bison version 1.28

it fails, but using older versions of flex and bison the regression goes
away:

[12:05:30]  flex -V
flex Cygnus version 2.5-gnupro-99r1

[12:05:34]  bison -V
GNU Bison version 1.25


Thank you very much.




-- 
Fernando Nasser
Red Hat Canada Ltd. E-Mail:  [EMAIL PROTECTED]
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9

---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster



Re: [HACKERS] ERROR: parser: parse error at or near JOIN

2001-04-25 Thread Tom Lane

Fernando Nasser [EMAIL PROTECTED] writes:
 Tom Lane wrote:
 I think you must have built gram.c with a broken bison or yacc.  What
 exactly is configure picking, and what version is it?

 Yes you are right.

 With:

 [12:03:04]  flex -V
 flex version 2.5.4
  
 [12:03:08]  bison -V
 GNU Bison version 1.28

 it fails, but using older versions of flex and bison the regression goes
 away:

 [12:05:30]  flex -V
 flex Cygnus version 2.5-gnupro-99r1

 [12:05:34]  bison -V
 GNU Bison version 1.25


Er, surely you stated that backwards?  flex 2.5.4 and bison 1.28 are
what all of the developers use, AFAIK (I know that's what I have
anyway).  bison 1.25 might well have some problems though...

regards, tom lane

---(end of broadcast)---
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly



Re: [HACKERS] ERROR: parser: parse error at or near JOIN

2001-04-25 Thread Tom Lane

Fernando Nasser [EMAIL PROTECTED] writes:
 Is anyone else seeing this?

No.

 I have the current CVS sources and make check ends up with one
 failure.  My regression.diffs shows:

I think you must have built gram.c with a broken bison or yacc.  What
exactly is configure picking, and what version is it?

regards, tom lane

---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
(send unregister YourEmailAddressHere to [EMAIL PROTECTED])



[HACKERS] ERROR: parser: parse error at or near JOIN

2001-04-23 Thread Fernando Nasser

Is anyone else seeing this?

I have the current CVS sources and make check ends up with one
failure.  My regression.diffs shows:


*** ./expected/join.out Thu Dec 14 17:30:45 2000
--- ./results/join.out  Mon Apr 23 20:23:15 2001
***
*** 1845,1851 
  -- UNION JOIN isn't implemented yet
  SELECT '' AS xxx, *
FROM J1_TBL UNION JOIN J2_TBL;
! ERROR:  UNION JOIN is not implemented yet
  --
  -- Clean up
  --
--- 1845,1851 
  -- UNION JOIN isn't implemented yet
  SELECT '' AS xxx, *
FROM J1_TBL UNION JOIN J2_TBL;
! ERROR:  parser: parse error at or near JOIN
  --
  -- Clean up
  --

==


-- 
Fernando Nasser
Red Hat Canada Ltd. E-Mail:  [EMAIL PROTECTED]
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9

---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]