Treat \r as white space when parsing pg_hba and related files.

Should make life easier for DBAs who insist on editing files with
Windoze tools.
This commit is contained in:
Tom Lane 2002-06-26 14:52:08 +00:00
parent e37cce05b7
commit 893fe4919d

View File

@ -10,7 +10,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.84 2002/06/20 20:29:28 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.85 2002/06/26 14:52:08 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@ -74,7 +74,7 @@ static char *tokenize_inc_file(const char *inc_filename);
static bool
isblank(const char c)
{
return c == ' ' || c == '\t';
return c == ' ' || c == '\t' || c == '\r';
}