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
6db0a6b0
Commit
6db0a6b0
authored
Oct 25, 2003
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove socket credentials defines not referenced.
parent
1919b620
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
12 deletions
+5
-12
src/backend/libpq/hba.c
src/backend/libpq/hba.c
+4
-4
src/interfaces/libpq/fe-auth.c
src/interfaces/libpq/fe-auth.c
+1
-8
No files found.
src/backend/libpq/hba.c
View file @
6db0a6b0
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.11
5 2003/09/25 06:57:59 petere
Exp $
* $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.11
6 2003/10/25 03:48:46 momjian
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -1433,15 +1433,15 @@ ident_unix(int sock, char *ident_user)
...
@@ -1433,15 +1433,15 @@ ident_unix(int sock, char *ident_user)
struct
msghdr
msg
;
struct
msghdr
msg
;
/* Credentials structure */
/* Credentials structure */
#if
def HAVE_STRUCT_CMSGCRED
#if
defined(HAVE_STRUCT_CMSGCRED)
typedef
struct
cmsgcred
Cred
;
typedef
struct
cmsgcred
Cred
;
#define cruid cmcred_uid
#define cruid cmcred_uid
#elif
HAVE_STRUCT_FCRED
#elif
defined(HAVE_STRUCT_FCRED)
typedef
struct
fcred
Cred
;
typedef
struct
fcred
Cred
;
#define cruid fc_uid
#define cruid fc_uid
#elif
HAVE_STRUCT_SOCKCRED
#elif
defined(HAVE_STRUCT_SOCKCRED)
typedef
struct
sockcred
Cred
;
typedef
struct
sockcred
Cred
;
#define cruid sc_uid
#define cruid sc_uid
...
...
src/interfaces/libpq/fe-auth.c
View file @
6db0a6b0
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
* exceed INITIAL_EXPBUFFER_SIZE (currently 256 bytes).
* exceed INITIAL_EXPBUFFER_SIZE (currently 256 bytes).
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-auth.c,v 1.8
3 2003/08/04 02:40:16
momjian Exp $
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-auth.c,v 1.8
4 2003/10/25 03:48:47
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -464,13 +464,6 @@ pg_local_sendauth(char *PQerrormsg, PGconn *conn)
...
@@ -464,13 +464,6 @@ pg_local_sendauth(char *PQerrormsg, PGconn *conn)
/* Point to start of first structure */
/* Point to start of first structure */
struct
cmsghdr
*
cmsg
=
(
struct
cmsghdr
*
)
cmsgmem
;
struct
cmsghdr
*
cmsg
=
(
struct
cmsghdr
*
)
cmsgmem
;
#endif
#endif
#ifdef HAVE_STRUCT_SOCKCRED
/* Prevent padding */
char
cmsgmem
[
sizeof
(
struct
cmsghdr
)
+
sizeof
(
struct
sockcred
)];
/* Point to start of first structure */
struct
cmsghdr
*
cmsg
=
(
struct
cmsghdr
*
)
cmsgmem
;
#endif
/*
/*
* The backend doesn't care what we send here, but it wants exactly
* The backend doesn't care what we send here, but it wants exactly
...
...
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