Re: log_line_prefix: make it possible to add the search_path

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: Pierre <p(dot)psql(at)pinaraf(dot)info>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: log_line_prefix: make it possible to add the search_path
Date: 2022-07-25 20:43:01
Message-ID: 2068652.1658781781@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Nikita Malakhov 2022-07-25 21:20:23 Re: Pluggable toaster
Previous Message Tom Lane 2022-07-25 19:46:18 Re: Unprivileged user can induce crash by using an SUSET param in PGOPTIONS