Re: [PATCHES] Show INHERIT in \du - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCHES] Show INHERIT in \du
Date
Msg-id 12894.1206071505@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PATCHES] Show INHERIT in \du  ("Brendan Jurd" <direvus@gmail.com>)
Responses Re: [PATCHES] Show INHERIT in \du  ("Brendan Jurd" <direvus@gmail.com>)
Re: [PATCHES] Show INHERIT in \du  ("Brendan Jurd" <direvus@gmail.com>)
List pgsql-hackers
"Brendan Jurd" <direvus@gmail.com> writes:
> On 21/03/2008, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> The code is now set up so that it can pass an entire field value
>> through gettext(), but if gettext recognizes the strings "foo" and
>> "bar" that doesn't mean it will do anything useful with "foo\nbar",
>> which is what this patch would require.

> Ouch!

> We can't just build the output table by hand like
> describeOneTableDetails does?  Admittedly it's kludgy, but it's not an
> unprecedented kludge.

Oh, I had forgotten the existence of that entry point in print.c.  Yeah,
it might be workable --- want to have a go at it?

            regards, tom lane

pgsql-hackers by date:

Previous
From: "Brendan Jurd"
Date:
Subject: Re: [PATCHES] Show INHERIT in \du
Next
From: "Brendan Jurd"
Date:
Subject: Re: [PATCHES] Show INHERIT in \du