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
6e90803f
Commit
6e90803f
authored
Jan 06, 2003
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for systems that don't have INET_ADDRSTRLEN.
parent
6b395074
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
6 deletions
+14
-6
src/backend/libpq/auth.c
src/backend/libpq/auth.c
+2
-1
src/backend/libpq/pqcomm.c
src/backend/libpq/pqcomm.c
+1
-2
src/backend/postmaster/postmaster.c
src/backend/postmaster/postmaster.c
+1
-2
src/include/libpq/pqcomm.h
src/include/libpq/pqcomm.h
+10
-1
No files found.
src/backend/libpq/auth.c
View file @
6e90803f
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/libpq/auth.c,v 1.9
5 2003/01/06 03:18:26 momjian
Exp $
* $Header: /cvsroot/pgsql/src/backend/libpq/auth.c,v 1.9
6 2003/01/06 09:58:23 petere
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -30,6 +30,7 @@
#include "libpq/hba.h"
#include "libpq/libpq.h"
#include "libpq/password.h"
#include "libpq/pqcomm.h"
#include "libpq/pqformat.h"
#include "miscadmin.h"
#include "storage/ipc.h"
...
...
src/backend/libpq/pqcomm.c
View file @
6e90803f
...
...
@@ -29,7 +29,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: pqcomm.c,v 1.14
4 2003/01/06 03:18:26 momjian
Exp $
* $Id: pqcomm.c,v 1.14
5 2003/01/06 09:58:23 petere
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -69,7 +69,6 @@
#include <sys/stat.h>
#include <sys/socket.h>
#include <netdb.h>
#include <netinet/in.h>
#ifdef HAVE_NETINET_TCP_H
#include <netinet/tcp.h>
#endif
...
...
src/backend/postmaster/postmaster.c
View file @
6e90803f
...
...
@@ -37,7 +37,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.30
2 2003/01/06 03:18:27 momjian
Exp $
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.30
3 2003/01/06 09:58:36 petere
Exp $
*
* NOTES
*
...
...
@@ -72,7 +72,6 @@
#include <fcntl.h>
#include <time.h>
#include <sys/param.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <limits.h>
...
...
src/include/libpq/pqcomm.h
View file @
6e90803f
...
...
@@ -9,7 +9,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: pqcomm.h,v 1.7
4 2003/01/06 05:33:45 momjian
Exp $
* $Id: pqcomm.h,v 1.7
5 2003/01/06 09:58:36 petere
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -34,6 +34,15 @@
#endif
/* not WIN32 */
#ifndef INET_ADDRSTRLEN
#define INET_ADDRSTRLEN 16
#endif
#ifndef INET6_ADDRSTRLEN
#define INET6_ADDRSTRLEN 46
#endif
#ifndef HAVE_STRUCT_SOCKADDR_UN
struct
sockaddr_un
{
...
...
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