Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
d6e33c8b
Commit
d6e33c8b
authored
May 10, 1999
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename MAP_FILE to USERMAP_FILE for Digital Unix.
parent
d489fdfc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
src/backend/libpq/hba.c
src/backend/libpq/hba.c
+3
-3
src/include/libpq/hba.h
src/include/libpq/hba.h
+2
-2
No files found.
src/backend/libpq/hba.c
View file @
d6e33c8b
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
* wherein you authenticate a user by seeing what IP address the system
* wherein you authenticate a user by seeing what IP address the system
* says he comes from and possibly using ident).
* says he comes from and possibly using ident).
*
*
* $Id: hba.c,v 1.4
1 1999/05/09 00:54:30 tgl
Exp $
* $Id: hba.c,v 1.4
2 1999/05/10 15:17:16 momjian
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -785,9 +785,9 @@ verify_against_usermap(const char *pguser,
...
@@ -785,9 +785,9 @@ verify_against_usermap(const char *pguser,
int
bufsize
;
int
bufsize
;
/* put together the full pathname to the map file */
/* put together the full pathname to the map file */
bufsize
=
(
strlen
(
DataDir
)
+
strlen
(
MAP_FILE
)
+
2
)
*
sizeof
(
char
);
bufsize
=
(
strlen
(
DataDir
)
+
strlen
(
USER
MAP_FILE
)
+
2
)
*
sizeof
(
char
);
map_file
=
(
char
*
)
palloc
(
bufsize
);
map_file
=
(
char
*
)
palloc
(
bufsize
);
snprintf
(
map_file
,
bufsize
,
"%s/%s"
,
DataDir
,
MAP_FILE
);
snprintf
(
map_file
,
bufsize
,
"%s/%s"
,
DataDir
,
USER
MAP_FILE
);
#ifndef __CYGWIN32__
#ifndef __CYGWIN32__
file
=
AllocateFile
(
map_file
,
"r"
);
file
=
AllocateFile
(
map_file
,
"r"
);
...
...
src/include/libpq/hba.h
View file @
d6e33c8b
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* Interface to hba.c
* Interface to hba.c
*
*
*
*
* $Id: hba.h,v 1.1
2 1999/02/13 23:21:35
momjian Exp $
* $Id: hba.h,v 1.1
3 1999/05/10 15:17:17
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
#define CONF_FILE "pg_hba.conf"
#define CONF_FILE "pg_hba.conf"
/* Name of the config file */
/* Name of the config file */
#define MAP_FILE "pg_ident.conf"
#define
USER
MAP_FILE "pg_ident.conf"
/* Name of the usermap file */
/* Name of the usermap file */
#define OLD_CONF_FILE "pg_hba"
#define OLD_CONF_FILE "pg_hba"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment