int bufsize;
/* put together the full pathname to the map file */
- bufsize = (strlen(DataDir) + strlen(MAP_FILE) + 2) * sizeof(char);
+ bufsize = (strlen(DataDir) + strlen(USERMAP_FILE) + 2) * sizeof(char);
map_file = (char *) palloc(bufsize);
- snprintf(map_file, bufsize, "%s/%s", DataDir, MAP_FILE);
+ snprintf(map_file, bufsize, "%s/%s", DataDir, USERMAP_FILE);
#ifndef __CYGWIN32__
file = AllocateFile(map_file, "r");
#define CONF_FILE "pg_hba.conf"
/* Name of the config file */
-#define MAP_FILE "pg_ident.conf"
+#define USERMAP_FILE "pg_ident.conf"
/* Name of the usermap file */
#define OLD_CONF_FILE "pg_hba"