Re: [HACKERS] Enabling frontend-only xlog "desc" routines

2012-11-30 Thread Robert Haas
On Thu, Nov 29, 2012 at 3:03 PM, Tom Lane wrote: > Alvaro Herrera writes: >> The other interesting question remaining is what to do about the rm_desc >> function in rmgr.c. We're split between these two ideas: > > Why try to link rmgr.c into frontend versions at all? Just make > a new table fil

Re: [HACKERS] Enabling frontend-only xlog "desc" routines

2012-11-29 Thread Andres Freund
On 2012-11-29 15:03:48 -0500, Tom Lane wrote: > Alvaro Herrera writes: > > The other interesting question remaining is what to do about the rm_desc > > function in rmgr.c. We're split between these two ideas: > > Why try to link rmgr.c into frontend versions at all? Just make > a new table file

Re: [HACKERS] Enabling frontend-only xlog "desc" routines

2012-11-29 Thread Tom Lane
Alvaro Herrera writes: > The other interesting question remaining is what to do about the rm_desc > function in rmgr.c. We're split between these two ideas: Why try to link rmgr.c into frontend versions at all? Just make a new table file that only includes the desc function pointers. Yeah, then

Re: [HACKERS] Enabling frontend-only xlog "desc" routines

2012-11-28 Thread Amit Kapila
On Wednesday, November 28, 2012 7:07 PM Andres Freund wrote: > On 2012-11-28 18:58:45 +0530, Amit Kapila wrote: > > On Wednesday, November 28, 2012 12:17 AM Alvaro Herrera wrote: > > > I mentioned the remaining issues in a previous email (see message-id > > > 20121025161751.ge6...@alvh.no-ip.org).

Re: [HACKERS] Enabling frontend-only xlog "desc" routines

2012-11-28 Thread Andres Freund
On 2012-11-28 18:58:45 +0530, Amit Kapila wrote: > On Wednesday, November 28, 2012 12:17 AM Alvaro Herrera wrote: > > I mentioned the remaining issues in a previous email (see message-id > > 20121025161751.ge6...@alvh.no-ip.org). Attached is a patch that enables > > xlogdump to #include xlog_inter

Re: [HACKERS] Enabling frontend-only xlog "desc" routines

2012-11-28 Thread Amit Kapila
On Wednesday, November 28, 2012 12:17 AM Alvaro Herrera wrote: > I mentioned the remaining issues in a previous email (see message-id > 20121025161751.ge6...@alvh.no-ip.org). Attached is a patch that enables > xlogdump to #include xlog_internal.h by way of removing that file's > inclusion of fmgr.

[HACKERS] Enabling frontend-only xlog "desc" routines

2012-11-27 Thread Alvaro Herrera
I mentioned the remaining issues in a previous email (see message-id 20121025161751.ge6...@alvh.no-ip.org). Attached is a patch that enables xlogdump to #include xlog_internal.h by way of removing that file's inclusion of fmgr.h, which is problematic. I don't think this should be too contentious.