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

From Andrew Dunstan
Subject Re: Command tags in create/drop scripts
Date
Msg-id 46607C1B.6040002@dunslane.net
Whole thread Raw
In response to Re: Command tags in create/drop scripts  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Responses Re: Command tags in create/drop scripts
List pgsql-hackers

Zdenek Kotala wrote:
>
> And what about replace all "scripts" by one command e.g pg_cmd with 
> following interface:
>
> pg_cmd create database <...>
>        create role ...
>        drop   database ...
>        list  database
> ...
>
>
> It solves potential name collision (for example createuser should 
> collide with other unix command) and output is easy maintainable in 
> one application.
>
>
>       

And we'll break a million applications that rely on the command names. 
We really don't have the luxury of being able to revisit every design 
decision that's ever been made.

cheers

andrew


pgsql-hackers by date:

Previous
From: "Simon Riggs"
Date:
Subject: Re: Do we need a TODO? (was Re: Concurrently updatinganupdatable view)
Next
From: "Joshua D. Drake"
Date:
Subject: Constraint exclusion oddity with composite index