Re: printTable API (was: Show INHERIT in \du)

From: "Brendan Jurd" <direvus(at)gmail(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org, "Alvaro Herrera" <alvherre(at)commandprompt(dot)com>
Subject: Re: printTable API (was: Show INHERIT in \du)
Date: 2008-03-30 16:27:16
Message-ID: 37ed240d0803300927j92f935fi9599c906583f7a8@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On 31/03/2008, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> There isn't any functional difference there. I am not sure, but I think
> the reason print.c has its own malloc wrappers instead of depending on
> common.c's is that we use print.c in some bin/scripts/ programs that
> do not want common.c too.
>

Okay, thanks (to Heikki as well) for the clarification. It's good to
know they are functionally equivalent. I'll do some snooping in
/scripts to get a better view of the situation.

> > 2. describe only does an mbvalidate for WIN32, but print does it in all cases.
>
> I don't know why describe only does that for WIN32; it looks
> inconsistent to me too. Possibly some trolling in the CVS history would
> give a clue about this.
>

Alright, I'll be spending some quality time with 'annotate' then =)

>
> If you're not actively working on this patch right now, I am going to go
> ahead and commit the other open patches for describe.c. If you do have
> a patch in progress, I'm willing to hold off to avoid any merge
> conflicts. Let me know.
>

I didn't get much beyond sketching out my struct. Now that I have
answers to the questions I raised above, I can push forward with the
patch, but I wouldn't expect to have anything to submit for another
couple of days at least.

Short answer: I have zero objections to you committing those patches.

Thanks for your time,
BJ

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-03-30 16:29:47 Re: [PATCHES] Integer datetime by default
Previous Message Tom Lane 2008-03-30 16:16:46 Re: printTable API (was: Show INHERIT in \du)

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2008-03-30 16:29:47 Re: [PATCHES] Integer datetime by default
Previous Message Tom Lane 2008-03-30 16:16:46 Re: printTable API (was: Show INHERIT in \du)