From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Kellerer <thomas@kellerer.eu>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15000: Cache lookup failure
Date: Mon, 08 Jan 2018 11:04:56 -0500
Message-ID: <32171.1515427496@sss.pgh.pa.us> (raw)
In-Reply-To: <23e16357-4c85-48cf-799a-30aa5ab18405@kellerer.eu>
References: <20180108113150.21778.4472@wrigleys.postgresql.org>
<29960.1515424337@sss.pgh.pa.us>
<d8d64af6-969a-e9d0-e1b4-5c8b6bc7ea02@kellerer.eu>
<30854.1515425711@sss.pgh.pa.us>
<23e16357-4c85-48cf-799a-30aa5ab18405@kellerer.eu>
Thomas Kellerer <thomas@kellerer.eu> writes:
> There was a left over pipe symbol in the script that we didn't see:
> pg_dump --table=l10n --table=l10n_value --clean ${db_stag} |
> psql --single-transaction --dbname=${db_prod} --file=${backup_stag}
> So pg_dump pipes a script with DROP statement into psql, which then
> runs essentially the same script again which was created in a previous step (also with --clean)
Hm, but if psql is restoring into a different database than pg_dump
is dumping from, I don't see how they'd interact?
regards, tom lane
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, thomas@kellerer.eu
Subject: Re: BUG #15000: Cache lookup failure
In-Reply-To: <32171.1515427496@sss.pgh.pa.us>
References: <20180108113150.21778.4472@wrigleys.postgresql.org> <29960.1515424337@sss.pgh.pa.us> <d8d64af6-969a-e9d0-e1b4-5c8b6bc7ea02@kellerer.eu> <30854.1515425711@sss.pgh.pa.us> <23e16357-4c85-48cf-799a-30aa5ab18405@kellerer.eu> <32171.1515427496@sss.pgh.pa.us>
* 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