Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1u30aQ-0092yw-EF for pgsql-general@arkaria.postgresql.org; Thu, 10 Apr 2025 22:41:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1u30aO-0010tl-OH for pgsql-general@arkaria.postgresql.org; Thu, 10 Apr 2025 22:41:29 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1u30aO-0010tO-Dj for pgsql-general@lists.postgresql.org; Thu, 10 Apr 2025 22:41:28 +0000 Received: from smtp.burggraben.net ([88.198.69.140]) by magus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1u30aL-004bD1-12 for pgsql-general@lists.postgresql.org; Thu, 10 Apr 2025 22:41:28 +0000 Received: from elch.exwg.net (elch.exwg.net [IPv6:2001:470:7120:1:21b:21ff:fef0:248b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "elch.exwg.net", Issuer "R11" (verified OK)) by smtp.burggraben.net (Postfix) with ESMTPS id 91587C0030F; Fri, 11 Apr 2025 00:41:24 +0200 (CEST) Received: by elch.exwg.net (Postfix, from userid 1000) id 35183FE59E; Fri, 11 Apr 2025 00:41:24 +0200 (CEST) Date: Fri, 11 Apr 2025 00:41:24 +0200 From: Christoph Moench-Tegeder To: Marc Millas Cc: "pgsql-general@lists.postgresql.org" Subject: Re: psql meta command Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/2.2.14 (2025-02-20) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk ## Marc Millas (marc.millas@mokadb.com): > on a customer postgres db, using psql, if I post \ to initiate, for > exemple \x > that psql immediately exits. I've seen that happen with broken terminals, mostly some "web shell" stuff. Ditch that, it's most likely broken in other ways, too. > somewhat boring as it blocks all psql meta commands. > Is there a way to get the extended display without posting a \ ? If you can live with expanded mode being constantly on, start psql with parameter -x as in "--expanded". Regards, Christoph -- Spare Space