Re: fetch_search_path() and elog.c
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: nonsolosoft@diff.org
Cc: pgsql-hackers@postgresql.org
Date: 2005-07-11T13:25:30Z
Lists: pgsql-hackers
Ferruccio Zamuner <nonsolosoft@diff.org> writes: > I need to have in the log_line_prefix the search_path where the query > has run. > So last week I've started to read elog.c and I was thinking about a > small patch there using a new "%S" option. There's no chance of that code working when not inside a transaction; which means that in most of the scenarios where you really want a log entry to be made, it will fail. regards, tom lane