Re: pgstat_reset_remove_files ignores its argument - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: pgstat_reset_remove_files ignores its argument
Date
Msg-id 20130819180607.GG9264@eldon.alvh.no-ip.org
Whole thread Raw
In response to Re: pgstat_reset_remove_files ignores its argument  (Jeff Janes <jeff.janes@gmail.com>)
List pgsql-hackers
Jeff Janes escribió:

> No, you are right, I too realized I missed a couple more spots.  Your
> patch looks just like the one I eventually arrived at, before I got
> distracted thinking about how to implement the regex
> /^(global|db_\d+)\.stat$/ in C and forgot to post a correction.
> 
> Is the regex code in src/backend/regex allowed to be used from "flat"
> C code, or does it have to be in the context of a transaction, memory
> context, etc.?

See 20130819180437.GF9264@eldon.alvh.no-ip.org .. the only thing missing
there is the $, AFAICT.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: danger of stats_temp_directory = /dev/shm
Next
From: Heikki Linnakangas
Date:
Subject: Re: Should we remove "not fast" promotion at all?