From: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> |
---|---|
To: | Andres Freund <andres(at)2ndquadrant(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: [PATCH 4/5] Add pg_xlogdump contrib module |
Date: | 2013-02-04 18:03:27 |
Message-ID: | 20130204180327.GH4963@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Andres Freund wrote:
> On 2013-02-04 14:55:56 -0300, Alvaro Herrera wrote:
> > Andres Freund wrote:
> > > On 2013-02-04 13:22:26 -0300, Alvaro Herrera wrote:
> >
> > > > +typedef struct RmgrDescData
> > > > +{
> > > > + void (*rm_desc) (StringInfo buf, uint8 xl_info, char *rec);
> > > > +} RmgrDescData;
> > > > +
> > > > +extern const RmgrDescData RmgrDescTable[];
> > > > +
> > >
> > > I think we would at least need to include rm_name here as well.
> >
> > Not rm_name (that would be duplicative), but a comment with the name of
> > each rmgr's name in its line should be sufficient.
>
> Maybe I am misunderstanding what you want to do, but xlogdump prints the
> name of the rmgr and allows to filter by it, how would we do that
> without rm_name?
Oh, I thought you wanted it for code documentation purposes only. Okay,
that makes sense. (Of course, we'd remove it from RmgrTable).
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
From | Date | Subject | |
---|---|---|---|
Next Message | Simon Riggs | 2013-02-04 18:06:51 | Re: proposal: ANSI SQL 2011 syntax for named parameters |
Previous Message | Andres Freund | 2013-02-04 17:57:49 | Re: [PATCH 4/5] Add pg_xlogdump contrib module |