Re: fetch_search_path() and elog.c - Mailing list pgsql-hackers

From Tom Lane
Subject Re: fetch_search_path() and elog.c
Date
Msg-id 7724.1121088330@sss.pgh.pa.us
Whole thread Raw
In response to fetch_search_path() and elog.c  (Ferruccio Zamuner <nonsolosoft@diff.org>)
Responses Re: fetch_search_path() and elog.c
List 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


pgsql-hackers by date:

Previous
From: "Sivaraman K.G"
Date:
Subject: Re: [BUGS] BUG #1744: Directory Missing
Next
From: Dennis Bjorklund
Date:
Subject: Re: [BUGS] BUG #1745: Unable to delete data from the