Re: Logging at schema level

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Nikhil <nikhilsmenon(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Logging at schema level
Date: 2017-07-21 05:42:53
Message-ID: CAB7nPqSa_1kEKrKsQnPCyYgq7+wPZ=B98=w_2GxSSnEF4TjB3Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Jul 21, 2017 at 7:10 AM, Nikhil <nikhilsmenon(at)gmail(dot)com> wrote:
> I am using postgresql schema feature for multi-tenancy. can we get
> postgresql logs at schema level. Currently it is for the whole database
> server (pg_log)

Not directly. All the log-related parameters can be controlled by a
superuser, so you could leverage things at application level with some
SET commands to switch them dynamically.
--
Michael

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andreas Kretschmer 2017-07-21 05:51:47 Re: Logging at schema level
Previous Message Achilleas Mantzios 2017-07-21 05:42:30 Re: Streaming Replication archive_command is really needed?