Re: Command tags in create/drop scripts

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Command tags in create/drop scripts
Дата
Msg-id 833.1180761872@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Command tags in create/drop scripts  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: Command tags in create/drop scripts  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Список pgsql-hackers
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:

> Well, I don't think rolling up the miscellaneous commands into a single 
> binary with behaviour dependent on arg[0] is a bad idea.

I don't think that responds to Zdenek's complaint though.  He's unhappy
about polluting /usr/bin with commands like "createuser" --- which is
not an unreasonable gripe.  AFAICS it doesn't help if "createuser"
is a link to a single executable rather than a file of its own.

But in the light of backwards-compatibility requirements, I can't see us
removing "createuser" from the distribution ... not in 8.4, nor several
releases thereafter.

Sun's certainly free to not ship createuser in their packaging of PG,
and see what sort of push-back they get.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Ye olde drop-the-database-you-just-left problem
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: pg_detoast_datum_packed and friends