Re: pg_backup symlink?

From: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: pg_backup symlink?
Date: 2000-07-10 22:33:11
Message-ID: 3.0.5.32.20000711083311.029f4450@mail.rhyme.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

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.

Is there a good solution? It dumps to text for compatibility with the old
pg_dump, but I will most often use 'pg_dump -Fc --blob'. Is there a
recommended 'correct' approach?

----------------------------------------------------------------
Philip Warner | __---_____
Albatross Consulting Pty. Ltd. |----/ - \
(A.C.N. 008 659 498) | /(@) ______---_
Tel: (+61) 0500 83 82 81 | _________ \
Fax: (+61) 0500 83 82 82 | ___________ |
Http://www.rhyme.com.au | / \|
| --________--
PGP key available upon request, | /
and from pgp5.ai.mit.edu:11371 |/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2000-07-10 22:34:34 Re: Link to postgesql components
Previous Message Peter Eisentraut 2000-07-10 22:24:36 Re: pg_backup symlink?

Browse pgsql-hackers by date

  From Date Subject
Next Message Lamar Owen 2000-07-10 22:35:58 Re: pg_backup symlink?
Previous Message Philip Warner 2000-07-10 22:28:18 Re: more corruption