Cleanup code for preparsing pg_hba.conf and pg_ident.conf. Store line

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 77896d1fc92d3cc48622d24a8fc0037186baeefd
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2001-07-31T22:55:45Z
Releases: 7.2.1
Cleanup code for preparsing pg_hba.conf and pg_ident.conf.  Store line
number in the data structure so that we can give at least a minimally
useful idea of where the mistake is when we issue syntax error messages.
Move the ClientAuthentication() call to where it should have been in
the first place, so that postmaster memory releasing can happen in a
reasonable place also.  Update obsolete comments, correct one real bug
(auth_argument was not picked up correctly).

Files

PathChange+/−
src/backend/libpq/hba.c modified +170 −137
src/backend/postmaster/postmaster.c modified +23 −7
src/backend/tcop/postgres.c modified +5 −19
src/include/libpq/hba.h modified +5 −5