Re: [HACKERS] fetch_search_path() and elog.c

2005-07-11 Thread Alvaro Herrera
On Mon, Jul 11, 2005 at 06:22:26PM +0200, Ferruccio Zamuner wrote: > Now I've found a simpler solution: > > case 'S': >/* estrae il search_path */ > if (namespace_search_path != NULL) >appendStringInfo(buf, "%s ", namespace_search_path); >

Re: [HACKERS] fetch_search_path() and elog.c

2005-07-11 Thread Ferruccio Zamuner
Tom Lane wrote: Ferruccio Zamuner <[EMAIL PROTECTED]> 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 w

Re: [HACKERS] fetch_search_path() and elog.c

2005-07-11 Thread Tom Lane
Ferruccio Zamuner <[EMAIL PROTECTED]> 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 insi