]> granicus.if.org Git - postgresql/commit
Code cleanup, mostly in the smgr:
authorNeil Conway <neilc@samurai.com>
Tue, 6 Jan 2004 18:07:32 +0000 (18:07 +0000)
committerNeil Conway <neilc@samurai.com>
Tue, 6 Jan 2004 18:07:32 +0000 (18:07 +0000)
commitdfc7e7b71d86771c3242ac4fab6a04496ed0cf98
tree0c7ac2974fc05c725bac73ab0565402fa4ffc4ea
parent030f8e731326f39a5438af9ce3adc48479332f8b
Code cleanup, mostly in the smgr:

     - Update comment in IsReservedName() to the present day

     - Improve some variable & function names in commands/vacuum.c. I
       was planning to rewrite this to avoid lappend(), but since I
       still intend to do the list rewrite, there's no need for that.

     - Update some smgr comments which seemed to imply that we still
       forced all dirty pages to disk at commit-time.

     - Replace some #ifdef DIAGNOSTIC code with assertions.

     - Make the distinction between OS-level file descriptors and
       virtual file descriptors a little clearer in a few comments

     - Other minor comment improvements in the smgr code
src/backend/catalog/catalog.c
src/backend/commands/analyze.c
src/backend/commands/vacuum.c
src/backend/storage/smgr/md.c
src/backend/storage/smgr/smgr.c
src/include/utils/rel.h