Re: pgsql crollable cursor doesn't support one form ofpostgresql's cu - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: pgsql crollable cursor doesn't support one form ofpostgresql's cu
Date
Msg-id BAY20-F2DA0AF96C31EA6FE22456F94F0@phx.gbl
Whole thread Raw
In response to Re: pgsql crollable cursor doesn't support one form of postgresql's cu  (Neil Conway <neilc@samurai.com>)
Responses Re: pgsql crollable cursor doesn't support one form ofpostgresql's cu
List pgsql-hackers
Hello,

it's true. There is bug. I'll send actualised version tomorrow.

Regards
Pavel

>I haven't read the rest of the thread yet, but is this hunk not buggy?
>yylex() is side-effecting, so the two calls to yylex() do not do what
>the comment suggests.
>
> >
> > !     /* check FROM or IN keyword after direction's specification */
> > !     if (check_FROM && (yylex() != K_FROM && yylex() != K_IN))
> > !             yyerror("expected \"FROM/IN\"");
> >
> >       return fetch;
>
>-Neil
>
>

_________________________________________________________________
Emotikony a pozadi programu MSN Messenger ozivi vasi konverzaci. 
http://messenger.msn.cz/



pgsql-hackers by date:

Previous
From: Neil Conway
Date:
Subject: Re: pgsql crollable cursor doesn't support one form of postgresql's cu
Next
From: Michael Meskes
Date:
Subject: Re: ECPG failure on BF member Vaquita (Windows Vista)