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 1mH4Wi-0000qE-0i for pgsql-general@arkaria.postgresql.org; Fri, 20 Aug 2021 13:25:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mH4Wg-0002d5-VY for pgsql-general@arkaria.postgresql.org; Fri, 20 Aug 2021 13:25:38 +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 1mH4Wg-0002cp-Jv for pgsql-general@lists.postgresql.org; Fri, 20 Aug 2021 13:25:38 +0000 Received: from mail-ot1-x32c.google.com ([2607:f8b0:4864:20::32c]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mH4Wd-00064Y-MN for pgsql-general@postgresql.org; Fri, 20 Aug 2021 13:25:37 +0000 Received: by mail-ot1-x32c.google.com with SMTP id m7-20020a9d4c87000000b0051875f56b95so13544527otf.6 for ; Fri, 20 Aug 2021 06:25:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6xVVfsuA7wtexienAkdAZygKRjpJTVbVrl8v2ltYv+E=; b=H96cYA44X421jI8TGXvz5IvPwJ0nrwnTptjhO74ud6vInoSfX7BSHPgRVZ+oPeyz4L bES/5U4H9IyuNNBxmThBgNeOIQgti4vtI6unjcw+7jJcIStrmL7htCUTc3KCeZp5YXlp qzOunVyYcpc7kCPbAKmRAp1tZPae3U0Bd5EyXrgdahJhin5UEHQiF7KZw+kh6SnIH3fq xperLH6r1xzq7IJcLZK4IVOxBoFDl+yEPqTxbcly2pwX+Ad2ph4Tu8ZY3G6DZVvl4Kex a+lf1ssBHWMUG+ZMIYcbsP9cMIWufe43uRCqrt44Kb24xLaqs39YiKmtpt8/uUJ9lOzI Xubw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6xVVfsuA7wtexienAkdAZygKRjpJTVbVrl8v2ltYv+E=; b=QBFILawBhOuPmAViwt0M4x3QBvewITHL1//xte6iKDd+MbWHnlOYnZpK0uEmnz447x SLGiwm8Qaeq/UynGSbCYRV1sFw35mDX8xci6colzsjO1SPoPU0aLojqV3+koA3JDPFbd i9sH7spcrznyFT7jO3d2qnbeXjkf63Ijr1MMbhtvJrSa5EL1/Okfs4vnW5FKwK2eGzkF gnNJK2PNPigsav2CXKnaUFSqkHyM+ute517nc+5thxE1VvIXiEim4Zbykl8xD6fTGbom /pehqxQB9Ukjl3N66vH+RndGXaZH6fMFd1w94w2iWrKyDppIIy3qXGPCc4gUBMU7yqOM vKwg== X-Gm-Message-State: AOAM530/G8TQfoNvLMB4aJ61rEAk/fj+jr+vdv+l4zypLSvlcmjkhw6x MwZgZYIryZgpHMO2gDYjidQKoTP+hyGpXWrxxg8= X-Google-Smtp-Source: ABdhPJzlE6Rw1GLJHy2D/O5DeY/7oBEhSj+l2QWEgmUze3AckqL1z/7I3hcezAkzsKzohiEBZr0ddwMNk7QP7xd2FKo= X-Received: by 2002:a05:6808:14d0:: with SMTP id f16mr2890659oiw.62.1629465934783; Fri, 20 Aug 2021 06:25:34 -0700 (PDT) MIME-Version: 1.0 References: <20210818160627.GC13032@momjian.us> In-Reply-To: From: Jayadevan M Date: Fri, 20 Aug 2021 18:55:23 +0530 Message-ID: Subject: Re: log_statement setting To: Julien Rouhaud Cc: Bruce Momjian , "pgsql-general@postgresql.org" Content-Type: multipart/alternative; boundary="00000000000037690f05c9fd9aac" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000037690f05c9fd9aac Content-Type: text/plain; charset="UTF-8" On Thu, Aug 19, 2021 at 11:41 AM Julien Rouhaud wrote: > > The value you see on pg_settings is the one that's selected for your > current connection, based on the database/role you used. > > You can use \drds in psql to see the various configurations, or query > the pg_db_role_setting table. > Thank you. Pointing to pg_db_role_setting was very helpful. I was able to get the data I wanted. Regards, Jay --00000000000037690f05c9fd9aac Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Thu, Aug 19, 2021 at 11:41 AM Juli= en Rouhaud <rjuju123@gmail.com= > wrote:

The value you see on pg_settings is the one that's selected for your current connection, based on the database/role you used.

You can use \drds in psql to see the various configurations, or query
the pg_db_role_setting table.
Thank you.=C2=A0 Pointin= g to pg_db_role_setting was very helpful. I was able to get the data I want= ed.
Regards,
Jay
--00000000000037690f05c9fd9aac--