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

From Zdenek Kotala
Subject Re: Command tags in create/drop scripts
Date
Msg-id 46609B96.2010206@sun.com
Whole thread Raw
In response to Re: Command tags in create/drop scripts  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Command tags in create/drop scripts
List 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 by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: syslogger line-end processing infelicity
Next
From: Tom Lane
Date:
Subject: Re: syslogger line-end processing infelicity