Re: FWD: Re: Updated backslash consistency patch

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: FWD: Re: Updated backslash consistency patch
Дата
Msg-id 20090121180928.GJ4038@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: FWD: Re: Updated backslash consistency patch  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: FWD: Re: Updated backslash consistency patch  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
Bruce Momjian escribió:

> But frankly, with a very complex backslash API that is already
> overloaded, I figured having a consistent 'S' to include system objects
> was the best we are going to be able to do.  Once this is out in the
> field we might get new ideas.

I don't buy this argument.  If we're going to break backwards
compatibility we should only do so to get a better UI.  Not because "we
might get new ideas".

After all this discussion, I'm not sure I understand why is it so
important that all \ commands behave "consistently".  Since psql is
primarily a user-convenience tool, it seems that it needs to be usable
first, consistent second.  In most cases, usable means consistent (think
having the OK button at the same side of the Cancel button in all dialog
boxes), but this is one of the other cases, because the requirements for
some situations are clearly at odds in other situations (or as Peter
puts it: it is seldom useful to display pg_catalog tables, but it is
very often useful to display pg_catalog types).

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


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

Предыдущее
От: Jeff Davis
Дата:
Сообщение: Re: [PATCHES] GIN improvements
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: reducing statistics write overhead