Re: Command tags in create/drop scripts

Поиск
Список
Период
Сортировка
От Zdenek Kotala
Тема Re: Command tags in create/drop scripts
Дата
Msg-id 46609B96.2010206@sun.com
обсуждение исходный текст
Ответ на Re: Command tags in create/drop scripts  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Command tags in create/drop scripts  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
>> Zdenek Kotala wrote:
>>> And what about replace all "scripts" by one command e.g pg_cmd with 
>>> following interface:
>>>
>>> pg_cmd create database <...>
> 
>> And we'll break a million applications that rely on the command names. 

Compatibility is possible solve with parsing arg[0]. If old name appears 
there command line will be parsed in old style... This functionally 
should keep there for some transition interval. Packager will be 
responsible if he create links for backward compatibility or not.

> If you want that, it already exists: it's pronounced "psql -c ...".

No, it is not solution, because you still have binaries with strange 
names (e.g. createuser) on the disk.
    Zdenek


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: syslogger line-end processing infelicity
Следующее
От: Tom Lane
Дата:
Сообщение: Re: syslogger line-end processing infelicity