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 1jJ4bk-0004B3-Jc for pgsql-general@arkaria.postgresql.org; Tue, 31 Mar 2020 00:18:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jJ4bi-0008Pc-40 for pgsql-general@arkaria.postgresql.org; Tue, 31 Mar 2020 00:18:18 +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 1jJ4bh-0008PU-SF for pgsql-general@lists.postgresql.org; Tue, 31 Mar 2020 00:18:17 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jJ4bf-0003gX-4Q for pgsql-general@lists.postgresql.org; Tue, 31 Mar 2020 00:18:17 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id 02V0ICK1010422; Mon, 30 Mar 2020 20:18:12 -0400 From: Tom Lane To: Eric MacAdie cc: pgsql-general@lists.postgresql.org Subject: Re: Is PostgreSQL SQL Database Command Syntax Similar to MySQL/MariaDB? In-reply-to: References: <42f1a4b88bd1bb539d6e97f4705a07e2@teo-en-ming.com> <7de465009c4ce1fd6f38d1fa5ede541f@teo-en-ming.com> Comments: In-reply-to Eric MacAdie message dated "Mon, 30 Mar 2020 23:59:51 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <10420.1585613892.1@sss.pgh.pa.us> Date: Mon, 30 Mar 2020 20:18:12 -0400 Message-ID: <10421.1585613892@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Eric MacAdie writes: > One thing that is different about Postgres is that it uses a lot of > "meta-commands". > https://www.postgresql.org/docs/current/app-psql.html > An important one is "\q", which exits you from the database. Typing > "quit" or "exit" won't get you out of the session. Actually, since v11 that does work ... a concession we've made to MySQL converts ;-) regards, tom lane