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 1ufgcF-00AQfB-PQ for pgsql-general@arkaria.postgresql.org; Sat, 26 Jul 2025 15:15:16 +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 1ufgcE-00AA61-Si for pgsql-general@arkaria.postgresql.org; Sat, 26 Jul 2025 15:15:15 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ufgcE-00AA5t-IQ for pgsql-general@lists.postgresql.org; Sat, 26 Jul 2025 15:15:14 +0000 Received: from fhigh-a8-smtp.messagingengine.com ([103.168.172.159]) by makus.postgresql.org with smtp (Exim 4.96) (envelope-from ) id 1ufgcD-000tk6-05 for pgsql-general@lists.postgresql.org; Sat, 26 Jul 2025 15:15:13 +0000 Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfhigh.phl.internal (Postfix) with ESMTP id 41B74140009A; Sat, 26 Jul 2025 11:15:12 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-04.internal (MEProxy); Sat, 26 Jul 2025 11:15:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1753542912; x=1753629312; bh=XKrAe4HvBbpCcJT+uOYsPorrpxlHccgGac0CosxX8Hw=; b= UZtvIQs7l3T4YC1irZJTxEBhxO9d+Jj5Dgx9ol7YR6F6Mm9yfUawHjOFuD8zKSXn uiAcMEQEn1b8ev6DZnXT53Bu14TJrH2UMQ1puQsGkyN7zw7M1d5warxi9HEcJfNu d0UKcdhYbnyg1wTYV5EoapW/T1JgyHGbuVb9RF8hDIeh5NIhNmEwTJegY4aqP85J 8r2RbDh+auy9Ee06QH4niNVYBJ/sMZggl6pb4Qx3OiswIf//jtqZdv0lxxVFiN7f W27zX7yDobWuwj2wZAFSn6Dnp481a/MyV9YEEtcSPBh61ejzjuX76SutIUR+VT8c e0i20MiaGRjnym6GRDD79A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1753542912; x=1753629312; bh=X KrAe4HvBbpCcJT+uOYsPorrpxlHccgGac0CosxX8Hw=; b=eSplNRN0dZm8KuZ2M yG/0UmfPzFGsepiI0MaylY93NXUL30HAYFrgKAE02Zteuj3jV7lRjagyu+m7E7fw j9lRBcosbaFlTwze7jFvQQkCCi367ZZfmhUIYCxMIks/7hFb+58GKeXB35Eq+4Y5 1crdcp6G+ILEA+EJOswYj8CbCsJlnexqVCw5tLGIkKH7exBCa27CcmIFXD15G4If nuTg7nal2+H3fNUyD3x+/xHP82EzZpj85ZGddg7Rn1EP/QXelvERx/1OQ8dmwT+U fHbuqoxK1rcgOROPWgjBFcHuNDLzjIYWmz/yLWsJryoS7Xx2xb9gyDw87GGlIT3h 85+3g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdekieejhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefkffggfgfuvfhfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpeetughrihgrnhcu mfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomheqne cuggftrfgrthhtvghrnhepkeefheduvdejiefgieefjedtudduffelvdefleehfedtieff uefgvdekleegtddvnecuffhomhgrihhnpehpohhsthhgrhgvshhqlhdrohhrghenucevlh hushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdr khhlrghvvghrsegrkhhlrghvvghrrdgtohhmpdhnsggprhgtphhtthhopedvpdhmohguvg epshhmthhpohhuthdprhgtphhtthhopehikhhorhhothdtudesghhmrghilhdrtghomhdp rhgtphhtthhopehpghhsqhhlqdhgvghnvghrrghlsehlihhsthhsrdhpohhsthhgrhgvsh hqlhdrohhrgh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 26 Jul 2025 11:15:11 -0400 (EDT) Message-ID: <9feb6bc9-be97-4b2f-a945-379ccd8ef7d3@aklaver.com> Date: Sat, 26 Jul 2025 08:15:11 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Get info about the index To: Igor Korot , "pgsql-generallists.postgresql.org" References: Content-Language: en-US From: Adrian Klaver In-Reply-To: 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 7/26/25 08:00, Igor Korot wrote: > Hi, ALL, > Is there a better place to get the info about the index other than > https://www.postgresql.org/docs/current/view-pg-indexes.html > > That guy has a full blown CREATE INDEX command and I will need to > parse it to get the info I need. FYI, pg_class: https://www.postgresql.org/docs/current/catalog-pg-class.html and pg_attribute: https://www.postgresql.org/docs/current/catalog-pg-attribute.html also have index information. > > Thank you. > > -- Adrian Klaver adrian.klaver@aklaver.com