Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jX319-0006X3-EQ for pgsql-general@arkaria.postgresql.org; Fri, 08 May 2020 13:26:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jX30c-0003Oj-SH for pgsql-general@arkaria.postgresql.org; Fri, 08 May 2020 13:25:46 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jX30c-0003Ob-JX for pgsql-general@lists.postgresql.org; Fri, 08 May 2020 13:25:46 +0000 Received: from mout.gmx.net ([212.227.15.19]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jX30Z-0007Bj-Vf for pgsql-general@lists.postgresql.org; Fri, 08 May 2020 13:25:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1588944343; bh=Mi7geR7JXv1O0aNQ+kwwd1RxV1TNmmbooPx1aiZWHhs=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=JcLLm1YjGlAfikh7eguakV5CzC+9HEJnXorXEQDIFfJNIa20C/dNXi1oSX90Md/Lg VC0UBq15P0FQaNymv3Bi5uvmXfngFKDzQdJ5n6eZONJAeFaREvHv/52YfJDTh9HTOy TwoaDx/FwQDefPdywZEqLwkYAUpBWH2blInuDF8I= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [10.1.33.54] ([185.40.248.10]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M8hZD-1jSM2Z3Sa1-004h3g for ; Fri, 08 May 2020 15:25:42 +0200 Subject: Re: pg_temp schema created while using DB Link To: pgsql-general@lists.postgresql.org References: <2322d8108dde9dd7e7f002e082839aeea055d084.camel@cybertec.at> From: Thomas Kellerer Message-ID: <19f9cac1-a37f-93ea-5c2a-4d5158223fd1@gmx.net> Date: Fri, 8 May 2020 15:25:40 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:znVggEYaP00xlr8tQfEeSjrERFZG4/BlpUwTLbPMjw6oNE0ji7G VltY0UAaA8zBUgtjBPkfCF1quDM35pi/KxTOoRSViHMz/qlXGyyM+IID3X7JL2TKaOfZRLd /l6u7/4WsgSuzZ2MN6auoWIW3HS6y5EsXD+OdTPzIsH74ezNCZ8I01A5R+ZULt/nfwrF0p6 juX9sbTkHfub6AxvDst9g== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:tBA/UmtxhR0=:PptjrQAhi1gHTyeV+sNWUH CIDe+PAMhJGUZdicw6uOb8gvNtUWrKus0/W5jqHazTF0ZOVNk5UdgY/MZQDPc6iKcPe3gdJP8 Ooqr7JamFvA3XWleMsfsKDk1InLBBvBfoyoVnYXEpwiYwtw/9uR/rezSsn0rFCar9JLCRz8VB 7CXQNdklV97V3B2A3RDF7U5uXH5SoMobR414RKQrQdsxORXqt1q+sLgJdcFV8uRkxmG9Y9jnX IiqenUg+FrLFyhrcmB1/mhRjV/PM6ujQOBsdaXzIaE7p0UR24+cnx9RbXb7617hcoxqjlc4dg KHrE8Gnp/uooAw+nlec19QXAP4BTtAFn3btDU+JUrhVbm6PLhh3t6b7Xu5KsyFPajhmotBXh6 v3qFs42NhRJUkporZ0PMS/DPTVwCZVhN+yn569Ktc5rzkBD/jBF4jpiiqhU8T9ZzY8kbULTY4 AY3BWkqzgu6NlRUlKTBUQ5eShgaJmZtapPa6MEiQQAiVJENeNl2m/pqMVCg+sz6dna3axFGm2 VGv4hfstaO7L4deWROMLFcVzBA1rl15bmP8FoO0AKKaPMRk4GyUeHIpcZuZqxuQqcVctGqNLg c0Uud2+wUTzhQryBzgXWChiyGqDazk4GIoRtty6T7F18xAwN7dQkQd0D/EjohWZqI9qtGmV7A PZH2IEB2pn2shfa8HjEQGiJPlFSc5C8W6kl+xjeDBpc3Dtvb3GeT/knjRPwyW6ychzXdUTo8m KATQ/0l6/vZGPnBWXXm5sx7S3U8hZs1gki9kuXl6Q4b2rTZIUWB0VDF8VDEKeKta8iCVcJRCo yZP3yPZYcIctprLkWh4dsy68x96sIN7j80/z4ZR/Ev7NK9NNYGMv9eFJQtmoTl3/Hiw0ItEJM hw0r19FBIDc3Z+B21OGbgE+WNIPCjCr59czW8J9ESEgzOFBTQkTXNALz0cNc+4pt9ohNfE8P6 lCmhUQpPPJxqVsNSZWrEUXoQvg7GRUnhfkuUsnlyBw7DNQYVmCb3cPpLXsPAO50APvyT3E8EG qTfdOlbio+QYzg2Qi85KsEiJde33qm0xR3RaH+/Vu/SBwvzQDcdEIrZ2jMr3d6Gl8I+HLySei 7+3KNT0ajLladBMAnO+KHQn6iQyuTSTNLDq4CJnlb/1QqZkQ9Xo3awIcShnumgktHJ99tGhj7 GvDir6VX9v7Mu4Iv7rGRCMVBTVUe3x7gpfZNYB7ELlXxRuhXx+tlpkJFrPjbs8fVLnHysXtEG LlNCfxhBiFEAp3/7Y List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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_lin= k? 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.