|
6 | 6 | * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
|
7 | 7 | * Portions Copyright (c) 1994, Regents of the University of California
|
8 | 8 | *
|
9 |
| - * $Header: /cvsroot/pgsql/src/backend/commands/user.c,v 1.97 2002/04/26 19:29:47 tgl Exp $ |
| 9 | + * $Header: /cvsroot/pgsql/src/backend/commands/user.c,v 1.98 2002/04/27 15:30:07 momjian Exp $ |
10 | 10 | *
|
11 | 11 | *-------------------------------------------------------------------------
|
12 | 12 | */
|
@@ -195,8 +195,7 @@ write_group_file(Relation urel, Relation grel)
|
195 | 195 | }
|
196 | 196 |
|
197 | 197 | /* File format is:
|
198 |
| - *"dbname""user1","user2","user3" |
199 |
| - * This matches pg_hba.conf. |
| 198 | + *"dbname""user1" "user2" "user3" |
200 | 199 | */
|
201 | 200 | if (first_user)
|
202 | 201 | {
|
@@ -335,6 +334,7 @@ write_user_file(Relation urel)
|
335 | 334 | fputs_quote(passwd,fp);
|
336 | 335 | fputs(" ",fp);
|
337 | 336 | fputs_quote(valuntil,fp);
|
| 337 | +fputs("\n",fp); |
338 | 338 |
|
339 | 339 | pfree(passwd);
|
340 | 340 | pfree(valuntil);
|
|