We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95cbfb5 commit 3535cb8Copy full SHA for 3535cb8
src/backend/libpq/hba.c
@@ -10,7 +10,7 @@
10
*
11
12
* IDENTIFICATION
13
- * $PostgreSQL: pgsql/src/backend/libpq/hba.c,v 1.144 2005/06/28 22:16:45 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/libpq/hba.c,v 1.145 2005/07/28 15:30:55 momjian Exp $
14
15
*-------------------------------------------------------------------------
16
*/
@@ -959,13 +959,10 @@ load_role(void)
959
int i = 0;
960
ListCell *line;
961
962
+ /* We assume the flat file was written already-sorted */
963
role_sorted = palloc(role_length * sizeof(List *));
964
foreach(line, role_lines)
- {
965
role_sorted[i++] = lfirst(line);
966
- }
967
-
968
- /* We assume the flat file was written already-sorted */
969
}
970
971
0 commit comments