Re: Command tags in create/drop scripts

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Command tags in create/drop scripts
Date: 2007-06-01 20:05:47
Message-ID: 46607C1B.6040002@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2007-06-01 20:07:31 Constraint exclusion oddity with composite index
Previous Message Simon Riggs 2007-06-01 20:02:19 Re: Attempt to re-archive existing WAL logs afterrestoringfrom backup