Re: Command tags in create/drop scripts - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Command tags in create/drop scripts
Date
Msg-id 833.1180761872@sss.pgh.pa.us
Whole thread Raw
In response to Re: Command tags in create/drop scripts  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: Command tags in create/drop scripts
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Ye olde drop-the-database-you-just-left problem
Next
From: Gregory Stark
Date:
Subject: Re: pg_detoast_datum_packed and friends