pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mladen Gogala <gogala.mladen@gmail.com>
To: Bruce Momjian <bruce@momjian.us>
Cc: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: log_statement GUC parameter
Date: Thu, 12 Aug 2021 16:49:00 -0400
Message-ID: <aa5dc9de-9f51-89d6-1216-caaabb4054d1@gmail.com> (raw)
In-Reply-To: <20210812202308.GA4822@momjian.us>
References: <510207d8-8895-c3cb-e0a1-55135e4ce4f7@gmail.com>
	<20210812202308.GA4822@momjian.us>

Hi Bruce

Yes, I can. I have already done so and it works. I wrote a procedure 
because of my Oracle background, but it doesn't really matter. This was 
just a suggestion for the session settable parameters.

Regards

On 8/12/21 4:23 PM, Bruce Momjian wrote:
> I think you can write a SECURITY DEFINER function that calls SET, call
> that function at login.

-- 
Mladen Gogala
Database Consultant
Tel: (347) 321-1217
https://dbwhisperer.wordpress.com






view thread (9+ messages)  latest in thread

Message-ID: <aa5dc9de-9f51-89d6-1216-caaabb4054d1@gmail.com>
Permalink:  ../aa5dc9de-9f51-89d6-1216-caaabb4054d1@gmail.com/
Also on:    postgresql.org/message-id/aa5dc9de-9f51-89d6-1216-caaabb4054d1@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: gogala.mladen@gmail.com, bruce@momjian.us
  Subject: Re: log_statement GUC parameter
  In-Reply-To: <aa5dc9de-9f51-89d6-1216-caaabb4054d1@gmail.com>
  References: <510207d8-8895-c3cb-e0a1-55135e4ce4f7@gmail.com> <20210812202308.GA4822@momjian.us> <aa5dc9de-9f51-89d6-1216-caaabb4054d1@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox