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 1n6GYO-0007FA-J2 for pgsql-general@arkaria.postgresql.org; Sat, 08 Jan 2022 18:35:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1n6GYN-0000ZI-DA for pgsql-general@arkaria.postgresql.org; Sat, 08 Jan 2022 18:34:59 +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 1n6GYL-0000Z3-H7 for pgsql-general@lists.postgresql.org; Sat, 08 Jan 2022 18:34:59 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n6GYH-0001yF-1G for pgsql-general@lists.postgresql.org; Sat, 08 Jan 2022 18:34:57 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 518FD5C0099; Sat, 8 Jan 2022 13:34:50 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sat, 08 Jan 2022 13:34:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= message-id:date:mime-version:subject:to:references:from :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=b cCqbjec2h/PIw40ZzDduu+/Nfd91OyoSM3A1HSndsE=; b=jneeYhKShNxXjdS3S d/Q630j1jiCxD8K0/vVsML69lIOeHn9NcnO3TnTcKlc6XrHqtzh4jUJvuKrMubuh zKVd6oNo+pECr/uJfJF4OJcnsWF8ndgC2D3Er4dV1/l3ljfBq8WVwsPIDiqd3NSp 4e9CZQvE4cTVmF5Iq0kQTFOlVp7ou0zbxljVImu6+4EdiQEmOx5SCAlz/Q37zyhc yhyZaMHnmknE0MezNc3Sxc/NYQihvLoIZTjMUzQyKL9QeyQExcLUVgh5WPEwD3g4 RuRDpwwmDcpMguiVLcOsLFma1vB0frI0Gc9BeIYsoah3IUbxYap1xyieqqbun85d 7OoKg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding: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=bcCqbjec2h/PIw40ZzDduu+/Nfd91OyoSM3A1HSnd sE=; b=casBC9X3jZNAJxf/NzNF15xWx4ozehNeaxq8e3MpZGX5kW3ZJok4L39ig 9FcaCoU4XwTSPrutve6Jed0zotEmprGgKyFIXEAWFf2+rnpstPekl22Vs1ZEtqUZ gRZNXHeXpUzrDvIwsXzqz0VUQ1jexf8FE+E555l6tPsnPksxppfrfbPhY6SJ+utp tSJJVBkKwZjnrX3sIkmAfUewrgpytljzSpEUjUZXSibYav2PltCQhil9YG/fKoFW pTQ+JNGoSWxPdRDzGQoi+rOcr19lk6jVGlbJYnmVZyQ24eZ627ICwa6wZny6uqXn TLNuxv9iHKdSrb2DqGaTXUR733BCQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrudeghedgledtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtje ertddtfeejnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhk lhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecuggftrfgrthhtvghrnheptdegfeegue efudelfffhieeufeeffedvueeikeeludeugeetheeifefgtefhtdetnecuffhomhgrihhn pehsqhhlthhuthhorhhirghlrdhorhhgpdhpohhsthhgrhgvshhqlhdrohhrghenucevlh hushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdr khhlrghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 8 Jan 2022 13:34:49 -0500 (EST) Message-ID: Date: Sat, 8 Jan 2022 10:34:48 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 Subject: Re: Why not used standart SQL commands? Content-Language: en-US To: Ali Koca , pgsql-general@lists.postgresql.org References: <7d34ef92-d37d-d329-9f92-98e87b87e98d@gmail.com> From: Adrian Klaver In-Reply-To: <7d34ef92-d37d-d329-9f92-98e87b87e98d@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 1/8/22 10:25, Ali Koca wrote: > Hello, > > I'm seeing \dt used for "show tables", \l used for "show databases". Why > not standart SQL syntax words? Why specified PostgreSQL commands? > I can't figure out that. AFAIK, SHOW TABLES is a MySQL thing. See here: https://www.sqltutorial.org/sql-list-all-tables/ If you are looking for a 'standard' method then look at: https://www.postgresql.org/docs/current/information-schema.html in particular: https://www.postgresql.org/docs/current/infoschema-tables.html > > Ali > > -- Adrian Klaver adrian.klaver@aklaver.com