Re: Lines of code in PG 8.0 & 8.1?

From: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Rafael Martinez <r(dot)m(dot)guerrero(at)usit(dot)uio(dot)no>, pgsql-general(at)postgresql(dot)org
Subject: Re: Lines of code in PG 8.0 & 8.1?
Date: 2005-09-23 04:42:40
Message-ID: 20050923044240.GZ7630@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Is there some reasonable way to get that to not include comments?

On Thu, Sep 22, 2005 at 06:04:55PM -0400, Bruce Momjian wrote:
>
> For 8.1beta2 I get:
>
> 684533
>
> and for 8.0.X I get:
>
> 648130
>
> I used:
>
> # This script is used to compute the total number of "C" lines in the release
> # This should be run from the top of the CVS tree after a 'make distclean'
> find . -name '*.[chyl]' | xargs cat| wc -l
>
> I added this script to src/tools so we will have it for consistency.
> This shows a 5% increase in code size from 8.0.X and 8.1.X, which is
> consistent with previous releases, except for 8.0, which was a huge
> jump.
>
> ---------------------------------------------------------------------------
>
> Rafael Martinez wrote:
> -- Start of PGP signed section.
> > Hello
> >
> > I am preparing a presentation about PostgreSQL and I need some help.
> >
> > I have found some information [1] about the lines of code the different
> > versions (until 7.4) of PostgreSQL have, but I can not find numbers for
> > version 8.0 and 8.1.
> >
> > This is what I have:
> > 1996: 6.0 - 178K
> > 1997: 6.[12] - 225K
> > 1998: 6.[34] - 297K
> > 1999: 6.5 - 331K
> > 2000: 7.0 - 383K
> > 2001: 7.1 - 410K
> > 2002: 7.[23] - 453K
> > 2003: 7.4 - 508K
> >
> > I could find out the numbers for 8.0 and 8.1 myself if I know the
> > 'rules' used to find out the number of lines in the other versions. Has
> > anyone this information?
> >
> > Thanks in advance.
> >
> > [1] http://candle.pha.pa.us/ - PostgreSQL: Past, Present, and Future
> > (Bruce Momjian)
> >
> > --
> > Rafael Martinez, <r(dot)m(dot)guerrero(at)usit(dot)uio(dot)no>
> > Center for Information Technology Services
> > University of Oslo, Norway
> >
> > PGP Public Key: http://folk.uio.no/rafael/
> -- End of PGP section, PGP failed!
>
> --
> Bruce Momjian | http://candle.pha.pa.us
> pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
> + If your life is a hard drive, | 13 Roberts Road
> + Christ can be your backup. | Newtown Square, Pennsylvania 19073
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
>

--
Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Devrim GUNDUZ 2005-09-23 06:26:10 Re: Redhat 9 RPM dependency problem
Previous Message Bruno Wolff III 2005-09-23 03:01:23 Re: Questions about Rollback - after insert, update, delete ... operations?