Re: pg_backup symlink? - Mailing list pgsql-hackers

From Lamar Owen
Subject Re: pg_backup symlink?
Date
Msg-id 396A4FCE.770AD8D9@wgcr.org
Whole thread Raw
In response to pg_backup symlink?  (Philip Warner <pjw@rhyme.com.au>)
Responses Re: pg_backup symlink?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Philip Warner wrote:
> At 00:24 11/07/00 +0200, Peter Eisentraut wrote:
> >Philip Warner writes:
> >> Does anyone have a philosophical objection to a symlink from pg_dump to
> >> (new) pg_backup?

> >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.
> OK, I suppose I was thinking of the pg_dump symlink as a tool for
> compatibility.

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

--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11


pgsql-hackers by date:

Previous
From: Philip Warner
Date:
Subject: Re: pg_backup symlink?
Next
From: Bruce Momjian
Date:
Subject: Re: more corruption