Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iq5m5-0006e8-Kh for pgsql-hackers@arkaria.postgresql.org; Sat, 11 Jan 2020 01:41:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iq5m4-0006Gg-Cb for pgsql-hackers@arkaria.postgresql.org; Sat, 11 Jan 2020 01:41:12 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iq5m4-0006D2-0J for pgsql-hackers@lists.postgresql.org; Sat, 11 Jan 2020 01:41:12 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iq5m1-0007dp-Sq for pgsql-hackers@lists.postgresql.org; Sat, 11 Jan 2020 01:41:10 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id A9C5420C46; Fri, 10 Jan 2020 20:41:08 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Fri, 10 Jan 2020 20:41:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=vQwU77uIo7DqZ9lraI3Oj/gdBBB QOC0v6oi4efx17qE=; b=P2/AgFP0SgkxupHVTxmx2e/OfKtolnag2agalzh8nCK Rf9lC4CQEwwr+Uh7U4/SkCr9eB1t3DA/KrkAfYQvb11U3u8tUGJSxExUmsJ4M0FQ fehPab+K5bkqvGJtZ2fbvlxGyBxi5LEz2eYyzAiz7t0ETXZYEssMrjT1aqJDjxyr 4sn1IO9Xx9vmRO1uDxnfqS/sWS/c9eB5QHvvnDKlXOC+VAcOW19QGPdiyrOQQl5N t1j/PoyeotCbvoxIVf3W16K1bL/LwAZBgJSExA8XR6UZXTEof2omiOU8be+wvuFc HwPz0gSYFNSMExx9+7kRfPLGcDS91EykgYtddDvUhlg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=vQwU77 uIo7DqZ9lraI3Oj/gdBBBQOC0v6oi4efx17qE=; b=p/I1ze4dkQgU/B5sy4jgzI xveQuJDP7Yd1O+1slqjN/D96NBf13A9LIcN1haOXUJlJeCDZ+as2uJoUZld71Vdz WToqb0IVf7JJ1ShLc1VVQXQs42CBqfm/wt+PoJcYg2SsOP5dVzByKWHg9UYybuI8 5ivT0O3AkZ3fAHaR162cfG68WKf8hMl3r/4DJl6OeKzuGv6x2Svqx0vXqRqFyeRx 0tIML4RTDMlzoC32ZO06tFkyNSc+MRm1BY/fFSqFcmylGiGj6YidVlx1kdg+PSMp YuTho/0uvcrp4vgscpaqAmDRdqtJacoy+5Sw+/337g4C8223q/jETfYmoI3D90Ng == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvdeigedgfeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucfkphepudduuddruddtvddrudektddrudekheenucfrrghr rghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihiienucevlh hushhtvghrufhiiigvpedt X-ME-Proxy: Received: from paquier.xyz (ee0822lan1.rev.em-net.ne.jp [111.102.180.185]) by mail.messagingengine.com (Postfix) with ESMTPA id B5E198005C; Fri, 10 Jan 2020 20:41:06 -0500 (EST) Date: Sat, 11 Jan 2020 10:41:03 +0900 From: Michael Paquier To: Mahendra Singh Thalor Cc: Tom Lane , Robert Haas , Kyotaro Horiguchi , PostgreSQL Hackers Subject: Re: Assert failure due to "drop schema pg_temp_3 cascade" for temporary tables and \d+ is not showing any info after drooping temp table schema Message-ID: <20200111014103.GH250447@paquier.xyz> References: <14868.1578420368@sss.pgh.pa.us> <20200108004409.GA3413@paquier.xyz> <5602.1578444917@sss.pgh.pa.us> <20200108015601.GB3413@paquier.xyz> <20200109040612.GG2251@paquier.xyz> <20200110080125.GA250447@paquier.xyz> <20200110110748.GD250447@paquier.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="KjX7LgAomYr70Ka9" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --KjX7LgAomYr70Ka9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Jan 10, 2020 at 05:54:21PM +0530, Mahendra Singh Thalor wrote: > Thanks for the patch. I am not getting any crash but \d is not showing > any temp table if we drop temp schema and create again temp table. That's expected. As discussed on this thread, the schema has been dropped by a superuser and there are cases where it is helpful to do so, so the relation you have created after DROP SCHEMA relies on an inconsistent session state. If you actually try to use \d with a relation name that matches the one you just created, psql would just show nothing for the namespace name. -- Michael --KjX7LgAomYr70Ka9 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl4ZJ68ACgkQnvQgOdby QH2doA/+NadHiCWGw/Knvh/wcLKfgdDv9YL4iVh1ybrXlUsNSxsWop7g8mdPXG5G S7qRi4FfnMUVtyIgvlzSJCLrXYpeoWLEagVAZgw1Dpugp+hkNTT1jBV8n3qr7HA5 TriAcB420hkyO7Zjl5A/ifuJVq+r4/UTCvzZD7IiCmdnNTSwwZJ1vArxpt8TlaP4 kX2mnwfevZ2i5wD//5oXr8Z9hx6BoXBi3CX2+TRNm5VAOFfFTWdzXEQUB6wNJYBC +Uu7ETJ5IObhFJrUz2cQcGVrQjYcDJ34IxPQk0nZmR8g90Xt8Zjudq7PZDCvyJi7 Ng3YtY+2bmRIC99OXwUAUuE7xj4JigqEKgdk2MzbwfvjpAO/FmUiamDFvH/SWLIp RPKpflia5rqL/wDBE9/yFBPjEqnxDx6wh1rr4ylYWjIH7RfGi2IEJ5lmtDM4t2zS MerQ3pleIvZ7AsUaKR215owFwqn2ZSP1bhEFoFLTAyjwQFYltfvObfbo/Rmg+BrT GziCQquQ4T1XoX8xqiJBuz+DyENlbPdEVf6+l3EgTa+9OWKog2cRUbD86xmzT4LI FXinxh9sL0A1tsma8+9ohFY+aqmR+6fdyAdyqbnNhl8CDtcrdbi7L7yHvGBuOKvV L95aR8GOOs0SfijXrMhjjMo2idS8knXQIXtuA/EwwyrvF+iZD3g= =KeK2 -----END PGP SIGNATURE----- --KjX7LgAomYr70Ka9--