Re: Patch to change psql default banner v6

Bryce Nesbitt <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.patches
Message-ID <[email protected]>
Guillaume Lelarge wrote:
> Here is a patch that tries to implement this. Meta-commands should 
> work from 7.4 to 8.4-devel releases. It was not hard to do, and I 
> don't think it really is a burden to maintain.
>
> One part left to fix is \du and \dg commands. I would be glad to 
> continue to work on this but I would prefer to have comments before.
Good work!  I submitted a similar patch also. 

For your patch I have one critique: the version sensitive code is 
scattered all through describe.c.  Are there opportunities to apply some 
tests at a higher level (reducing the number of tests), or gather the 
tests into an easily maintainable chunk?

The cleaner it is, the more likely future patchers will continue to 
maintain compatibility.

                                  -Bryce Nesbitt


-- 
Sent via pgsql-patches mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-patches
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.