Services
24×7×365 Technical Support
Migration to PostgreSQL
High Availability Deployment
Database Audit
Remote DBA for PostgreSQL
Products
Postgres Pro Enterprise
Postgres Pro Standard
Cloud Solutions
Postgres Extensions
Resources
Blog
Documentation
Webinars
Videos
Presentations
Community
Events
Training Courses
Books
Demo Database
Mailing List Archives
About
Leadership team
Partners
Customers
In the News
Press Releases
Press Info
Services
24×7×365 Technical Support
Migration to PostgreSQL
High Availability Deployment
Database Audit
Remote DBA for PostgreSQL
Products
Postgres Pro Enterprise
Postgres Pro Standard
Cloud Solutions
Postgres Extensions
Resources
Blog
Documentation
Webinars
Videos
Presentations
Community
Events
Training Courses
Books
Demo Database
Mailing List Archives
About
Leadership team
Partners
Customers
In the News
Press Releases
Press Info
Facebook
Downloads
Home
>
mailing lists
[BUGS] postmaster.c ,have a warning: pg_getnameinfo_all() failed - Mailing list pgsql-bugs
From
zhaozp@uxsino.com
Subject
[BUGS] postmaster.c ,have a warning: pg_getnameinfo_all() failed
Date
March 14, 2017
11:53:53
Msg-id
201703141352529603355@uxsino.com
Whole thread
Raw
In response to
BUG #14096: run pgbench, db crash
(zhaozp@uxsino.com)
Responses
Re: [BUGS] postmaster.c ,have a warning: pg_getnameinfo_all() failed
List
pgsql-bugs
Tree view
static void
4071
BackendInitialize(Port *port)
4072
{
4073
int status;
4074
int ret;
4075
char remote_host[NI_MAXHOST];
4076
char remote_port[NI_MAXSERV];
4077
char remote_ps_data[NI_MAXHOST];
4078
4129
4130
/*
4131
* Get the remote host name and port for logging and status display.
4132
*/
4133
remote_host[0] = '\0';
4134
remote_port[0] = '\0';
4135
if ((ret = pg_getnameinfo_all(&port->raddr.addr, port->raddr.salen,
4136
remote_host, sizeof(remote_host)
,
4137
remote_port, sizeof(remote_port),
4138
(log_hostname ? 0 : NI_NUMERICHOST) | NI_NUMERICSERV)) != 0)
4139
ereport(WARNING,
4140
(errmsg_internal("pg_getnameinfo_all() failed: %s",
4141
gai_strerror(ret))));
Modified below, correct?
4136
remote_host,
NI_MAXHOST,
4137
remote_port,
NI_MAXSERV
,
pgsql-bugs
by date:
Previous
From:
Michael Meskes
Date:
14 March 2017, 02:05:41
Subject:
Re: [BUGS] [HACKERS] Two phase commit in ECPG
Next
From:
Tom Lane
Date:
14 March 2017, 20:25:37
Subject:
Re: [BUGS] postmaster.c ,have a warning: pg_getnameinfo_all() failed
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
I confirm that I have read and accepted PostgresPro’s
Privacy Policy
.
I agree to get Postgres Pro discount offers and other marketing communications.
✖
×
×
Everywhere
Documentation
Mailing list
List:
all lists
pgsql-general
pgsql-hackers
buildfarm-members
pgadmin-hackers
pgadmin-support
pgsql-admin
pgsql-advocacy
pgsql-announce
pgsql-benchmarks
pgsql-bugs
pgsql-chat
pgsql-cluster-hackers
pgsql-committers
pgsql-cygwin
pgsql-docs
pgsql-hackers-pitr
pgsql-hackers-win32
pgsql-interfaces
pgsql-jdbc
pgsql-jobs
pgsql-novice
pgsql-odbc
pgsql-patches
pgsql-performance
pgsql-php
pgsql-pkg-debian
pgsql-pkg-yum
pgsql-ports
pgsql-rrreviewers
pgsql-ru-general
pgsql-sql
pgsql-students
pgsql-testers
pgsql-translators
pgsql-www
psycopg
Period
anytime
within last day
within last week
within last month
within last 6 months
within last year
Sort by
date
reverse date
rank
Services
24×7×365 Technical Support
Migration to PostgreSQL
High Availability Deployment
Database Audit
Remote DBA for PostgreSQL
Products
Postgres Pro Enterprise
Postgres Pro Standard
Cloud Solutions
Postgres Extensions
Resources
Blog
Documentation
Webinars
Videos
Presentations
Community
Events
Training Courses
Books
Demo Database
Mailing List Archives
About
Leadership team
Partners
Customers
In the News
Press Releases
Press Info
By continuing to browse this website, you agree to the use of cookies. Go to
Privacy Policy
.
I accept cookies