From: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>, Fabrízio Mello <fabriziomello(at)gmail(dot)com>, Aleksandr Parfenov <a(dot)parfenov(at)postgrespro(dot)ru>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>, Yugo Nagata <nagata(at)sraoss(dot)co(dot)jp>, Ashutosh Sharma <ashu(dot)coek88(at)gmail(dot)com> |
Subject: | Re: [HACKERS] [PATCH] A hook for session start |
Date: | 2017-11-20 03:27:31 |
Message-ID: | CAB7nPqRZKPZUBMi2c5FjsvGrndBkFiLmcHxWcFUEzBNSSk7+4A@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mon, Nov 20, 2017 at 12:11 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> This is really about consolidating a whole bunch of ad-hoc stuff.
> I don't think pgstat has any particular pride of place here. It
> should be one consumer of a common API.
>
> The stuff related to AuxProcType is in miscadmin.h, so one possibility
> is to put the new enum there. But I could see inventing a whole new
> header for this, "utils/proctype.h" or so.
I am on board for a new, dedicated, header, miscadmin.h having already
a lot of things. So this API could just be located in its own file say
in src/backend/utils/misc?
--
Michael
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2017-11-20 03:38:45 | Re: [HACKERS] [PATCH] A hook for session start |
Previous Message | Tom Lane | 2017-11-20 03:11:08 | Re: [HACKERS] [PATCH] A hook for session start |