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
9c5ea833
Commit
9c5ea833
authored
Jul 18, 2010
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add SO_PEERCRED check in new unix domain socket permission checking code.
parent
040aee29
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
src/interfaces/libpq/fe-connect.c
src/interfaces/libpq/fe-connect.c
+5
-1
No files found.
src/interfaces/libpq/fe-connect.c
View file @
9c5ea833
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.
399 2010/07/18 11:37:26 petere
Exp $
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.
400 2010/07/18 15:51:00 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -1816,8 +1816,12 @@ keep_going: /* We will come back to here until there is
if
(
pass
==
NULL
)
{
appendPQExpBuffer
(
&
conn
->
errorMessage
,
# if defined(SO_PEERCRED)
libpq_gettext
(
"local user with ID %d does not exist
\n
"
),
(
int
)
peercred
.
uid
);
#else
libpq_gettext
(
"matching local user does not exist
\n
"
));
#endif
goto
error_return
;
}
...
...
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