Skip site navigation (1) Skip section navigation (2)

pgsql: Clean up IPv4 vs IPv6 bogosity in connectFailureMessage().

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Clean up IPv4 vs IPv6 bogosity in connectFailureMessage().
Date: 2010-11-27 00:17:09
Message-ID: E1PM8TV-0004kr-5T@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Clean up IPv4 vs IPv6 bogosity in connectFailureMessage().

Newly added code was supposing that "struct sockaddr_in" applies to IPv6.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=be3b666eb810089fd9a1d42e3888be52ab9ddb63

Modified Files
--------------
src/interfaces/libpq/fe-connect.c |   38 +++++++++++++++++++++++++-----------
1 files changed, 26 insertions(+), 12 deletions(-)

pgsql-committers by date

Next:From: Tom LaneDate: 2010-11-27 06:32:22
Subject: pgsql: Rewrite PQping to be more like what we agreed to last week.
Previous:From: Bruce MomjianDate: 2010-11-26 23:14:49
Subject: Re: pgsql: Fix portability issues in new src/port/inet_net_ntop.c file.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group