Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eEukP-0008W0-7D for pgsql-general@arkaria.postgresql.org; Wed, 15 Nov 2017 10:16:45 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1eEukO-0004Vn-74 for pgsql-general@arkaria.postgresql.org; Wed, 15 Nov 2017 10:16:44 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eEukN-0004VJ-IK for pgsql-general@postgresql.org; Wed, 15 Nov 2017 10:16:43 +0000 Received: from mx2.mailbox.org ([80.241.60.215]) by magus.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eEukB-0001ad-Me for pgsql-general@postgresql.org; Wed, 15 Nov 2017 10:16:42 +0000 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id 428224CE97; Wed, 15 Nov 2017 11:16:29 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter01.heinlein-hosting.de (spamfilter01.heinlein-hosting.de [80.241.56.115]) (amavisd-new, port 10030) with ESMTP id KjUUSCDRSDnp; Wed, 15 Nov 2017 11:16:20 +0100 (CET) Message-ID: <1510740979.2424.26.camel@cybertec.at> Subject: Re: Query on pg_settings view From: Laurenz Albe To: Ronen Nofar , pgsql-general@postgresql.org Date: Wed, 15 Nov 2017 11:16:19 +0100 In-Reply-To: References: Organization: Cybertec Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org Ronen Nofar wrote: > I have a weird case when running a query on the pg_settings view. > I have two users, first one is the default user - postgres which is a superuser > and another one is a role which i had created, i called it test_role and it's not a superuser. > When I run a select on pg_settings with these two users I recieve different results. That is intentional, because some settings should only be visible for superusers, for example everything that has to do with the operating system (location of configuration file or socket directories). Yours, Laurenz Albe -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general