Re: proposal - assign result of query to psql variable

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: proposal - assign result of query to psql variable
Дата
Msg-id 20121025142414.GA6442@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: proposal - assign result of query to psql variable  (Phil Sorber <phil@omniti.com>)
Ответы Re: proposal - assign result of query to psql variable
Список pgsql-hackers
I gave this a look.  I think it needs to be revised by somebody with a
better understanding of scanner (flex) than me, but I didn't like the
changes in psqlscan.l at all; the new <xvl> pattern is too unlike the
rest of the surrounding patterns, and furthermore it has been placed
within the block that says it mirrors the backend scanner, when it
obviously has no equivalent there.

I assume there's a better way to do this.  Hints would be appreciated.

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: autovacuum truncate exclusive lock round two
Следующее
От: Tom Lane
Дата:
Сообщение: Re: proposal - assign result of query to psql variable