Re: psql tab completion for DO blocks

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: psql tab completion for DO blocks
Дата
Msg-id 20016.1262471659@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: psql tab completion for DO blocks  (David Fetter <david@fetter.org>)
Ответы Re: psql tab completion for DO blocks  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
David Fetter <david@fetter.org> writes:
>> My inclination is to not have the separate query at all,

> I made one so people couldn't tab complete themselves an unpleasant
> surprise.  The overhead doesn't seem huge.

What unpleasant surprise is that going to be?  They'll get an error
message telling them there's no inline support.  That seems to me to
be more user-friendly than forcing them to type out the language name
and then getting the same error message.

As for the overhead, these queries are not zero-maintenance.  I still
think that the usefulness of tab completion here is pretty darn minimal,
since most people are more likely to rely on default_do_language;
so I don't see the point of carrying an extra query to tweak the
behavior in a way that isn't even obviously an improvement.
        regards, tom lane


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

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: invalid UTF-8 via pl/perl
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: invalid UTF-8 via pl/perl