Re: pg_backup symlink? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_backup symlink?
Date
Msg-id 5379.963269893@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_backup symlink?  (Lamar Owen <lamar.owen@wgcr.org>)
Responses Re: pg_backup symlink?  (Philip Warner <pjw@rhyme.com.au>)
List pgsql-hackers
Lamar Owen <lamar.owen@wgcr.org> writes:
>>>> Yes. The behaviour of a program should not depend on the name used to
>>>> invoke it. You can use shell aliases or scripts for that.

> There is already precedent -- postmaster is a symlink to postgres, but
> operates differently due to its invocation name.

There are dozens of other examples in any standard Unix system.  Just
to take one example, 'ls' has six different links to it on my Unix box,
and they all act differently (ie, supply different default switches to
the basic 'ls' behavior).

Peter is definitely swimming upstream if he hopes to get anyone to adopt
the above as received wisdom.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Peter Mount"
Date:
Subject: Re: postgres fe/be protocol
Next
From: The Hermit Hacker
Date:
Subject: Re: Distribution making