Re: Replacing plpgsql's lexer

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: Replacing plpgsql's lexer
Дата
Msg-id 4136ffa0904191028n60b02d88k706af6256c816bb3@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Replacing plpgsql's lexer  (Grzegorz Jaskiewicz <gj@pointblue.com.pl>)
Ответы Re: Replacing plpgsql's lexer  (Grzegorz Jaskiewicz <gj@pointblue.com.pl>)
Список pgsql-hackers
On Sun, Apr 19, 2009 at 6:24 PM, Grzegorz Jaskiewicz
<gj@pointblue.com.pl> wrote:
> Will it also mean, that queries are going to be analyzed deeper ?
> Ie, afaik I am able now to create plpgsql function, that tries to run query
> accessing non existent table, or columns.
> Or, if I rename column/table/relation now, views, etc are getting updated -
> but not plpgsql functions. Will that change with your patch ?


The scanner isn't responsible for anything like this. It just braeks
the input up into tokens. So its responsible for determining where
strings start and end and where tble names start and end but doesn't
actually look up the name anywhere -- that's up to the parser and
later steps. So no.

-- 
greg


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

Предыдущее
От: Grzegorz Jaskiewicz
Дата:
Сообщение: Re: Replacing plpgsql's lexer
Следующее
От: Grzegorz Jaskiewicz
Дата:
Сообщение: Re: Replacing plpgsql's lexer