Re: pg_backup symlink?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>
Cc: Philip Warner <pjw(at)rhyme(dot)com(dot)au>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: pg_backup symlink?
Date: 2000-07-10 22:58:13
Message-ID: 5379.963269893@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Lamar Owen <lamar(dot)owen(at)wgcr(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Randall Parker 2000-07-10 23:03:19 Auto-increment and data importing: problem pointed out in PHP builder review?
Previous Message Tom Lane 2000-07-10 22:54:32 Re: Slashdot discussion

Browse pgsql-hackers by date

  From Date Subject
Next Message The Hermit Hacker 2000-07-10 23:00:13 Re: Distribution making
Previous Message Tom Lane 2000-07-10 22:54:32 Re: Slashdot discussion