Skip site navigation (1) Skip section navigation (2)

Large C files

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Large C files
Date: 2011-09-03 23:18:47
Message-ID: 201109032318.p83NIlA11347@momjian.us (view raw or flat)
Thread:
Lists: pgsql-hackers
FYI, here are all the C files with over 6k lines:

-  45133 ./interfaces/ecpg/preproc/preproc.c
-  33651 ./backend/parser/gram.c
-  17551 ./backend/parser/scan.c
   14209 ./bin/pg_dump/pg_dump.c
   10590 ./backend/access/transam/xlog.c
    9764 ./backend/commands/tablecmds.c
    8681 ./backend/utils/misc/guc.c
-   7667 ./bin/psql/psqlscan.c
    7213 ./backend/utils/adt/ruleutils.c
    6814 ./backend/utils/adt/selfuncs.c
    6176 ./backend/utils/adt/numeric.c
    6030 ./pl/plpgsql/src/pl_exec.c

I have dash-marked the files that are computer-generated.  It seems
pg_dump.c and xlog.c should be split into smaller C files.

-- 
  Bruce Momjian  <bruce(at)momjian(dot)us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2011-09-03 23:58:12
Subject: Re: pg_upgrade automatic testing
Previous:From: Andrew DunstanDate: 2011-09-03 21:04:42
Subject: Re: pg_restore --no-post-data and --post-data-only

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group