Re: Replacing plpgsql's lexer - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Replacing plpgsql's lexer
Date
Msg-id 49E4FB25.9050602@dunslane.net
Whole thread Raw
In response to Re: Replacing plpgsql's lexer  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Replacing plpgsql's lexer  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers

Robert Haas wrote:
> All this sounds good.  As for how to handle := and .., I think making
> them lex the same way in PL/pgsql and core SQL would be a good thing.
>
>
>   

They don't have any significance in core SQL. What would we do with the 
lexeme?

ISTR we've used some hacks in the past to split lexemes into pieces, and 
presumably we'd have to do something similar with these.

The only thing that makes me nervous about this is that we're very close 
to Beta. OTOH, this is one area the regression suite should give a 
fairly good workout to.

cheers

andrew


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Replacing plpgsql's lexer
Next
From: Tom Lane
Date:
Subject: Re: Replacing plpgsql's lexer