Re: Command tags in create/drop scripts

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Command tags in create/drop scripts
Дата
Msg-id 15904.1181398329@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Command tags in create/drop scripts  ("Joshua D. Drake" <jd@commandprompt.com>)
Список pgsql-hackers
"Joshua D. Drake" <jd@commandprompt.com> writes:
> Jim C. Nasby wrote:
>> On Tue, Jun 05, 2007 at 05:52:39PM -0000, Andrew Hammond wrote:
>>> +1. Given the prevalence of the pg_foo convention, those names are
>>> clunky. So is initdb. I'm less creative than Zdenek, so I'd suggest
>>> simply renaming to pg_createuser and friends with the same command
>>> line options as the originals. Have the binaries check $0 and emit a
>>> warning about using the deprecated name to STDERR if called by a name
>>> that doesn't have the pg_ prefix. Default to symlinking the old names
>>> for backwards compatibility until 9.0.
>> 
>> +1

> +1

I like this better than the original proposal, too.  Doing more than
this seems like more work and more confusion for users than the problem
justifies.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Binary mode copy in from stdin
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Issues with factorial operator