Duplicate code in psql's \ commands

Поиск
Список
Период
Сортировка
От David Fetter
Тема Duplicate code in psql's \ commands
Дата
Msg-id 20090419164530.GP10700@fetter.org
обсуждение исходный текст
Ответы Re: Duplicate code in psql's \ commands  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Folks,

While working on the new improved \df, I noticed a pretty major
infelicity, namely that \ commands get validated by two completely
independent code paths, namely tab-complete.c and
command.c/describe.c.

I'm thinking it would be a good idea to factor the validating out as
far as possible.  This would also make it easier to make sure that tab
completion and \'s output match to the maximal reasonable extent.

Objections?

Cheers,
David.
-- 
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate


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

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