Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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.



In response to


pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group