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

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Brendan Jurd <direvus(at)gmail(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: printTable API (was: Show INHERIT in \du)
Date: 2008-05-12 23:06:55
Message-ID: 20080512230655.GH19344@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Brendan Jurd escribió:

> Here's the latest version of the printTable API. This version is
> against the current HEAD and merges in the changes made by the
> recently committed psql wrap patch.
>
> This version also includes Alvaro's fix for the issue of pg_strdup not
> being available to programs in scripts/ (as quoted below).

Thanks. I had to merge Tom's fixes to the wrap code too.

Another thing that I changed is that now "not null" and "default %s" is
translatable in a table description. Also, I removed the _() call
around things like "?%c? \"%s.%s\"", which is what we use for tables of
which we don't recognize the relkind.

Thanks for the patch.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2008-05-12 23:37:53 Re: odd output in restore mode
Previous Message Andrew Dunstan 2008-05-12 22:58:37 Re: odd output in restore mode

Browse pgsql-patches by date

  From Date Subject
Next Message Simon Riggs 2008-05-12 23:37:53 Re: odd output in restore mode
Previous Message Andrew Dunstan 2008-05-12 22:58:37 Re: odd output in restore mode