Re: pgstat_reset_remove_files ignores its argument

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pgstat_reset_remove_files ignores its argument
Date: 2013-08-19 18:06:07
Message-ID: 20130819180607.GG9264@eldon.alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)GF9264(at)eldon(dot)alvh(dot)no-ip(dot)org .. the only thing missing
there is the $, AFAICT.

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2013-08-19 18:09:13 Re: Should we remove "not fast" promotion at all?
Previous Message Alvaro Herrera 2013-08-19 18:04:38 Re: danger of stats_temp_directory = /dev/shm