Re: about EDITOR_LINENUMBER_SWITCH

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: about EDITOR_LINENUMBER_SWITCH
Дата
Msg-id 1306345651-sup-7800@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: about EDITOR_LINENUMBER_SWITCH  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: about EDITOR_LINENUMBER_SWITCH
Список pgsql-hackers
Excerpts from Tom Lane's message of mar may 24 17:11:17 -0400 2011:

> Right.  It would also increase the cognitive load on the user to have
> to remember the command-line go-to-line-number switch for his editor.
> So I don't particularly want to redesign this feature.  However, I can
> see the possible value of letting EDITOR_LINENUMBER_SWITCH be set from
> the same place that you set EDITOR, which would suggest that we allow
> the value to come from an environment variable.  I'm not sure whether
> there is merit in allowing both that source and ~/.psqlrc, though
> possibly for Windows users it might be easier if ~/.psqlrc worked.

If we're going to increase the number of options in .psqlrc that do not
work with older psql versions, can I please have .psqlrc-MAJORVERSION or
some such?  Having 8.3's psql complain all the time because it doesn't
understand "linestyle" is annoying.

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: [BUGS] BUG #6034: pg_upgrade fails when it should not.
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Pull up aggregate subquery