Re: [GENERAL] Logging at schema level - Mailing list pgsql-general

From Michael Paquier
Subject Re: [GENERAL] Logging at schema level
Date
Msg-id CAB7nPqSa_1kEKrKsQnPCyYgq7+wPZ=B98=w_2GxSSnEF4TjB3Q@mail.gmail.com
Whole thread Raw
In response to [GENERAL] Logging at schema level  (Nikhil <nikhilsmenon@gmail.com>)
List pgsql-general
On Fri, Jul 21, 2017 at 7:10 AM, Nikhil <nikhilsmenon@gmail.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


pgsql-general by date:

Previous
From: Achilleas Mantzios
Date:
Subject: Re: [GENERAL] Streaming Replication archive_command is really needed?
Next
From: Andreas Kretschmer
Date:
Subject: Re: [GENERAL] Logging at schema level