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 1oRKwc-0007n0-2D for pgsql-general@arkaria.postgresql.org; Thu, 25 Aug 2022 22:03:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oRKwZ-0000en-L5 for pgsql-general@arkaria.postgresql.org; Thu, 25 Aug 2022 22:03:19 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oRKwY-0000ed-8T for pgsql-general@lists.postgresql.org; Thu, 25 Aug 2022 22:03:19 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oRKwV-0007gD-4U for pgsql-general@lists.postgresql.org; Thu, 25 Aug 2022 22:03:16 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id E80C45C0129; Thu, 25 Aug 2022 18:03:13 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Thu, 25 Aug 2022 18:03:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1661464993; x= 1661551393; bh=hEB8zjh5XErMJf9oDzrlORFjDuZ4EjhlWQTLNoU2pQk=; b=L LOsKmPnzTW8A0688D+LXMh5zhyjWx1e2xFHKIBb5ta9LkQGaNZxzkaUCvZWqsOEb 99qZN7s7Uw+4q5z0Y5tIvj1LpakP8+iH2DkEfm1pznqOMoxZMzR/yrjHpj46NvUn +Iiv/hT/hDqX3yTcLVx5C1tlHSGYCRqOgTiTB2ye69ZPNUZMUMOsP0FL55+FhyRH MXzJjpoXRorc2LN4QzrYuir+BmjRM6njPxNmJswugKh1US8eKUG75h95DQCc01VJ OvccNJ0AwYBp5VJyHOk6DfcWOLYRSQwz0WQ1dqkoqPZnMB59QkWWIIX6vjqpLdup x59Jxvp1eJwbx8eZnXOgQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1661464993; x=1661551393; bh=h EB8zjh5XErMJf9oDzrlORFjDuZ4EjhlWQTLNoU2pQk=; b=nZwTuzFbbC1lS+aYP P9JQtAMLWEMwiF0cSIcS4nDys8DPxcV70rvYCAS11IpkVjlw95jh2XLVtTNkU7Vt 89S021JQCIld5ywBCNi7PhNpLwTwA9VYXZeciyyChiKFjVdClMW3lbrVBIOjPO3h fc2SPPB3WDdZDRd9W6NZo807zXo/NrKXI+sKzdt02dUD7aztfvKynr8JvPVFQ4Wl xsKBJ71EEOazw5W+EK1BHXlnjWblcPd+RVCR6ywLv7WI1STnD1v1xV1occhequpW v0mgPFDtuXONsrmDsSHuozqtuIGCN9TDnepy07/b9HG0ReAqpuzHUxjfOvm6IlKf Ya5NA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdejgedgtdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvfhfhjggtgfesthejredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucggtffrrghtthgvrhhnpeffudehtddugefgkeevudffheevvefhfeettdfhveei vdfgieeghfeiueeggffggeenucffohhmrghinhepphhoshhtghhrvghsqhhlrdhorhhgne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhi rghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 25 Aug 2022 18:03:12 -0400 (EDT) Message-ID: <988bb91f-89d2-bb38-4b46-846c5da6e20a@aklaver.com> Date: Thu, 25 Aug 2022 15:03:11 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: Information_schema.table_constraints Content-Language: en-US To: Ravi Krishna , "pgsql-general@lists.postgresql.org" References: <773776517.1723029.1661460833874.ref@mail.yahoo.com> <773776517.1723029.1661460833874@mail.yahoo.com> From: Adrian Klaver In-Reply-To: <773776517.1723029.1661460833874@mail.yahoo.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 8/25/22 13:53, Ravi Krishna wrote: > Any idea why select on this table does not yield any output for a user > who otherwise can get output for other information_schema tables. Does > this table require any special privilege compared to other tables of > information_schema. https://www.postgresql.org/docs/current/infoschema-table-constraints.html "The view table_constraints contains all constraints belonging to tables that the current user owns or has some privilege other than SELECT on." > Thanks -- Adrian Klaver adrian.klaver@aklaver.com