From: | "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com> |
---|---|
To: | "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | "Diogo Biazus" <diogob(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: xlog viewer proposal |
Date: | 2006-06-22 17:36:59 |
Message-ID: | 36e682920606221036w7b43c9aah6b6db4736961c712@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 6/22/06, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Yes it would. The most obvious point is that memory management and
> error handling conventions inside the backend are quite different from
> what you'd expect to employ in a standalone program.
No, this wouldn't really be that hard, especially if he created a few
macros to handle the differences.
> Also the means you'd use for consulting the system catalogs
> (in that option to provide readable names for OIDs) are entirely
> different.
Definitely correct there. If it's designed well, it wouldn't be too
hard to use same-named functions for getting catalog information and
using ifdefs depending on how it's being used.
> I think asking for support of both environments is a good way to ensure
> that this summer project doesn't get finished :-(
I totally agree... I'm not suggesting that he does both for SoC. Just
that if it is designed well from the start, it wouldn't be too hard to
add support for either command-line or contrib-ish usage. The goal
was to start with xlogdump and enhance it, so starting with
command-line is probably the best anyway.
--
Jonah H. Harris, Software Architect | phone: 732.331.1300
EnterpriseDB Corporation | fax: 732.331.1301
33 Wood Ave S, 2nd Floor | jharris(at)enterprisedb(dot)com
Iselin, New Jersey 08830 | http://www.enterprisedb.com/
From | Date | Subject | |
---|---|---|---|
Next Message | Todd A. Cook | 2006-06-22 17:39:08 | Re: Out of memory error in 8.1.0 Win32 |
Previous Message | Rod Taylor | 2006-06-22 17:30:36 | Re: vacuum, performance, and MVCC |