Skip to content

Commit 893fe49

Browse files
committed
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.
1 parent e37cce0 commit 893fe49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/libpq/hba.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*
1212
* IDENTIFICATION
13-
* $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.84 2002/06/20 20:29:28 momjian Exp $
13+
* $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.85 2002/06/26 14:52:08 tgl Exp $
1414
*
1515
*-------------------------------------------------------------------------
1616
*/
@@ -74,7 +74,7 @@ static char *tokenize_inc_file(const char *inc_filename);
7474
static bool
7575
isblank(const char c)
7676
{
77-
return c == ' ' || c == '\t';
77+
return c == ' ' || c == '\t' || c == '\r';
7878
}
7979

8080

0 commit comments

Comments
 (0)