Re: [PATCHES] dollar quoting

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [PATCHES] dollar quoting
Дата
Msg-id 200402170401.i1H41cN13675@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [PATCHES] dollar quoting  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Список pgsql-hackers
Christopher Kings-Lynne wrote:
> > Parsing is a whole nother ball of wax besides lexing.  I wasn't planning
> > to put *that* into psql.  Remember the only thing psql really wants from
> > this is to detect where end-of-statement is ...
> 
> Forgive my lameness, but I've never truly figured out where parsing ends 
> and lexing begins.  Anyone care to illuminate me on the difference?

The simplistic answer is the lexing breaks a string up into
words/tokens, and parsing matches those tokens against patterns and
fires actions.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [PATCHES] log session end - again
Следующее
От: Tom Lane
Дата:
Сообщение: Re: casting zero-length strings