Re: BUG #4941: pg_stat_statements crash - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: BUG #4941: pg_stat_statements crash
Date
Msg-id 20090727033042.GG10327@alvh.no-ip.org
Whole thread Raw
In response to Re: BUG #4941: pg_stat_statements crash  (Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Responses Re: BUG #4941: pg_stat_statements crash  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Itagaki Takahiro escribió:
> 
> Tom Lane <tgl@sss.pgh.pa.us> wrote:
> 
> > > We should call [Read dumpfile] routine only once even on Windows.
> > Seems to me that you should simply do the load only when found is false.
> 
> Here is a patch to fix pg_stat_statements on Windows.

Hmm, it seems the comment just above the patched line needs to be fixed.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-bugs by date:

Previous
From: Itagaki Takahiro
Date:
Subject: Re: BUG #4941: pg_stat_statements crash
Next
From: Tom Lane
Date:
Subject: Re: BUG #4941: pg_stat_statements crash