From: Thomas Kellerer <shammat@gmx.net>
To: pgsql-general@lists.postgresql.org
Subject: Re: pg_temp schema created while using DB Link
Date: Fri, 8 May 2020 15:25:40 +0200
Message-ID: <19f9cac1-a37f-93ea-5c2a-4d5158223fd1@gmx.net> (raw)
In-Reply-To: <CABGmvVPfEhzg18MgUSpXSTzROaLN3GctkpTZu=aV1bBrbjMm7Q@mail.gmail.com>
References: <CABGmvVOpKsyUMAUdBpg+rZKqn4noVdjyFPLtSBrayxy1=QFoog@mail.gmail.com>
<2322d8108dde9dd7e7f002e082839aeea055d084.camel@cybertec.at>
<CABGmvVPfEhzg18MgUSpXSTzROaLN3GctkpTZu=aV1bBrbjMm7Q@mail.gmail.com>
Jill Jade schrieb am 08.05.2020 um 09:32:
> We do not have any temporary tables in the Oracle database. The
> temporary schema is created only while using the db_link. These temp
> schemas (pg_temp, pg_toast) are not disappearing even after
> restarting the database.
The temp tables would be created in Postgres, not in Oracle.
> Why the db_link is causing these schemas? Is there any issue with db_link?
Which DB_Link are you referring to exactly?
Postgres' "dblink" module can only connect to another Postgres server.
So it must be something on the Oracle side.
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: shammat@gmx.net
Subject: Re: pg_temp schema created while using DB Link
In-Reply-To: <19f9cac1-a37f-93ea-5c2a-4d5158223fd1@gmx.net>
References: <CABGmvVOpKsyUMAUdBpg+rZKqn4noVdjyFPLtSBrayxy1=QFoog@mail.gmail.com> <2322d8108dde9dd7e7f002e082839aeea055d084.camel@cybertec.at> <CABGmvVPfEhzg18MgUSpXSTzROaLN3GctkpTZu=aV1bBrbjMm7Q@mail.gmail.com> <19f9cac1-a37f-93ea-5c2a-4d5158223fd1@gmx.net>
* 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