From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: mb.alzouabi@gmail.com
Subject: BUG #18245: pg_restore accepts same output file name as input file name
Date: Wed, 13 Dec 2023 03:39:58 +0000
Message-ID: <18245-eed25801b2d599c9@postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 18245
Logged by: Mohammad Al Zouabi
Email address: mb.alzouabi@gmail.com
PostgreSQL version: 14.10
Operating system: macOS
Description:
Please let it fail when the user passes the same name for the output as the
input.
I just lost a very important .tar file because I forgot to replace .tar with
.sql.
Thanks!
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, mb.alzouabi@gmail.com
Subject: Re: BUG #18245: pg_restore accepts same output file name as input file name
In-Reply-To: <18245-eed25801b2d599c9@postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox