pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Prakash Ramakrishnan <prakash.ramakrishnan.ap@nielsen.com>
To: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: restore error
Date: Tue, 02 Jul 2019 09:35:32 +0200
Message-ID: <3cdbeaef3337779e7276cf7074ddac43fe169e37.camel@cybertec.at> (raw)
In-Reply-To: <CAA2eZXwmLH04cGRSpF0gb_nwK1RGTyjk15BaGfGh-0E=24j3zA@mail.gmail.com>
References: <CAA2eZXwmLH04cGRSpF0gb_nwK1RGTyjk15BaGfGh-0E=24j3zA@mail.gmail.com>

Prakash Ramakrishnan wrote:
> While restoring the database using psql getting below error any idea about this?
> 
> psql:AICH01PR.sql:641367264: ERROR:  connection for foreign table "mf_adm_spotservicefiles" cannot be established
> DETAIL:  ORA-12170: TNS:Connect timeout occurred

Just guessing:

Perhaps there is a materialized view that is based on a foreign table,
and when PostgreSQL tries to populate the materialized view during
the restore, it fails to connect to the remote database.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com






view thread (9+ messages)  latest in thread

Message-ID: <3cdbeaef3337779e7276cf7074ddac43fe169e37.camel@cybertec.at>
Permalink:  ../3cdbeaef3337779e7276cf7074ddac43fe169e37.camel@cybertec.at/
Also on:    postgresql.org/message-id/3cdbeaef3337779e7276cf7074ddac43fe169e37.camel@cybertec.at

 · 

reply

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-general@postgresql.org
  Cc: laurenz.albe@cybertec.at, prakash.ramakrishnan.ap@nielsen.com
  Subject: Re: restore error
  In-Reply-To: <3cdbeaef3337779e7276cf7074ddac43fe169e37.camel@cybertec.at>
  References: <CAA2eZXwmLH04cGRSpF0gb_nwK1RGTyjk15BaGfGh-0E=24j3zA@mail.gmail.com> <3cdbeaef3337779e7276cf7074ddac43fe169e37.camel@cybertec.at>

* 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