RE: [HACKERS] Postgres' lexer

Поиск
Список
Период
Сортировка
От Ansley, Michael
Тема RE: [HACKERS] Postgres' lexer
Дата
Msg-id 1BF7C7482189D211B03F00805F8527F70ED119@S-NATH-EXCH2
обсуждение исходный текст
Ответы Re: [HACKERS] Postgres' lexer  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Sorry, Tom, I saw the tgl initals, and assumed it was you, before realising
that there are a couple of people who could be identified by those initials.
tgl, please stand up ;-)

MikeA

>> -----Original Message-----
>> From: Ansley, Michael 
>> Sent: Friday, August 20, 1999 12:37 PM
>> To: 'Leon'; hackers; 'Tom Lane'
>> Subject: RE: [HACKERS] Postgres' lexer
>> 
>> 
>> I figured it out.  The first thing the code does is set the 
>> state to xm (BEGIN (xm)).  If you look in the comments at 
>> the top, Tom Lane put these in to deal with numeric strings 
>> with embedded minuses.  Tom, can you give us a run-down of 
>> what the problem was that required this stuff.  Perhaps if 
>> we can find another way around it, we can reduce the vltc's
>> 
>> Thanks...
>> 
>> MikeA
>> 
>> >> -----Original Message-----
>> >> From: Leon [mailto:leon@udmnet.ru]
>> >> Sent: Friday, August 20, 1999 11:36 AM
>> >> To: hackers
>> >> Subject: Re: [HACKERS] Postgres' lexer
>> >> 
>> >> 
>> >> Ansley, Michael wrote:
>> >> ...
>> >> > >> And what this stands for:
>> >> > >>
>> >> > >> {identifier}/{space}*-{number}
>> >> > An identifier followed by any number of spaces, and then a 
>> >> minus, or a
>> >> > number.  Again, double check this with a reference of 
>> some sorts.
>> >> 
>> >> Well, I studied flex manpage from top to bottom, and almost 
>> >> everything
>> >> in Postgres's lexer makes sense. But these "followed by 
>> spaces and a
>> >> queer minused number" do not. Can someone tell me what do these 
>> >> minused single - digit numbers stand for?
>> >> 
>> >> -- 
>> >> Leon.
>> >> ---------
>> >> "This may seem a bit weird, but that's okay, because it 
>> is weird." -
>> >> Perl manpage.
>> >> 
>> >> 
>> >> 
>> >> ************
>> >> 
>> 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Ansley, Michael"
Дата:
Сообщение: RE: [HACKERS] Postgres' lexer
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] vacuum process size