Re: Suggestions for first contribution? - Mailing list pgsql-hackers

From Aleksander Alekseev
Subject Re: Suggestions for first contribution?
Date
Msg-id 20160907141444.GB20001@e733
Whole thread Raw
In response to Re: Suggestions for first contribution?  (Aleksander Alekseev <a.alekseev@postgrespro.ru>)
Responses Re: Suggestions for first contribution?  (Noah Misch <noah@leadboat.com>)
Re: Suggestions for first contribution?  (Christian Convey <christian.convey@gmail.com>)
List pgsql-hackers
Here is another idea for a contribution - refactoring.

Currently there are a lot of procedures in PostgreSQL code that
definitely don't fit on one screen (i.e. ~50 lines). Also many files are
larger than say 1000 lines of code. For instance, psql_completion
procedure is more than 2000 lines long! I think patches that would make
such code easier to read would have a good chance to be accepted.

In case you are interested I wrote a script that scans PostgreSQL code
and then prints procedures names and corresponding number of lines of
code (see attachment).

--
Best regards,
Aleksander Alekseev

Attachment

pgsql-hackers by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: pgbench - allow to store select results into variables
Next
From: Aleksander Alekseev
Date:
Subject: Re: Patch: Implement failover on libpq connect level.