Re: log_line_prefix: make it possible to add the search_path - Mailing list pgsql-hackers

From Tom Lane
Subject Re: log_line_prefix: make it possible to add the search_path
Date
Msg-id 2068652.1658781781@sss.pgh.pa.us
Whole thread Raw
In response to Re: log_line_prefix: make it possible to add the search_path  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
List pgsql-hackers
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> Maybe your idea of allowing arbitrary GUCs is not a bad one, something
> like
>   %{search_path}G
> (where we add a letter at the end just so we can add other things in the
> future that aren't GUCs.)

I'm pretty uncomfortable about the amount of code that could potentially
be reached during an error logging attempt if we do that.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Unprivileged user can induce crash by using an SUSET param in PGOPTIONS
Next
From: Nikita Malakhov
Date:
Subject: Re: Pluggable toaster