aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1999-05-10 15:17:17 +0000
committerBruce Momjian <bruce@momjian.us>1999-05-10 15:17:17 +0000
commitd6e33c8b07aeef995d7d4d200d6667383ec849ba (patch)
tree9791480e6f9ea9e8eefb0ffd31522277176a8a27
parentd489fdfc7f4ccf0010fe0397e7272bdfc257e8f2 (diff)
downloadpostgresql-d6e33c8b07aeef995d7d4d200d6667383ec849ba.tar.gz
postgresql-d6e33c8b07aeef995d7d4d200d6667383ec849ba.zip
Rename MAP_FILE to USERMAP_FILE for Digital Unix.
-rw-r--r--src/backend/libpq/hba.c6
-rw-r--r--src/include/libpq/hba.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/libpq/hba.c b/src/backend/libpq/hba.c
index f5dddcdb262..85bbcb890e6 100644
--- a/src/backend/libpq/hba.c
+++ b/src/backend/libpq/hba.c
@@ -5,7 +5,7 @@
* wherein you authenticate a user by seeing what IP address the system
* says he comes from and possibly using ident).
*
- * $Id: hba.c,v 1.41 1999/05/09 00:54:30 tgl Exp $
+ * $Id: hba.c,v 1.42 1999/05/10 15:17:16 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -785,9 +785,9 @@ verify_against_usermap(const char *pguser,
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");
diff --git a/src/include/libpq/hba.h b/src/include/libpq/hba.h
index 50d23c2d4a0..ea603556c21 100644
--- a/src/include/libpq/hba.h
+++ b/src/include/libpq/hba.h
@@ -4,7 +4,7 @@
* Interface to hba.c
*
*
- * $Id: hba.h,v 1.12 1999/02/13 23:21:35 momjian Exp $
+ * $Id: hba.h,v 1.13 1999/05/10 15:17:17 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -19,7 +19,7 @@
#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"