On Thu, 2003-02-13 at 08:49, Jeroen T. Vermeulen wrote:
> Here's some changes I made last night to psql's common.c (as found in
> 7.3.2). It removes some code duplication and #ifdeffing, and some
> unstructured ugliness such as tacky breaks and an unneeded continue.
> Breaks up a large function into smaller functions and reduces required
> nesting levels, and kills a variable or two.
This patch breaks psql on my system:
(without the patch applied)
nconway=# \d
List of relations
Schema | Name | Type | Owner
--------+------+-------+---------
public | a | table | nconway
(1 row)
(with the patch applied)
nconway=> \d
nconway=>
Other slash commands (\d table, \df, etc.) are similarly broken.
Cheers,
Neil
--
Neil Conway <neilc@samurai.com> || PGP Key ID: DB3C29FC