postgresql/src/interfaces/libpq
Thomas Munro bcc8b14ef6 Remove configure probe for sockaddr_in6 and require AF_INET6.
SUSv3 <netinet/in.h> defines struct sockaddr_in6, and all targeted Unix
systems have it.  Windows has it in <ws2ipdef.h>.  Remove the configure
probe, the macro and a small amount of dead code.

Also remove a mention of IPv6-less builds from the documentation, since
there aren't any.

This is similar to commits f5580882 and 077bf2f2 for Unix sockets.  Even
though AF_INET6 is an "optional" component of SUSv3, there are no known
modern operating system without it, and it seems even less likely to be
omitted from future systems than AF_UNIX.

Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/CA+hUKGKErNfhmvb_H0UprEmp4LPzGN06yR2_0tYikjzB-2ECMw@mail.gmail.com
2022-08-26 10:18:30 +12:00
..
po NLS: Put list of available languages into LINGUAS files 2022-07-13 08:19:17 +02:00
t Pre-beta mechanical code beautification. 2022-05-12 15:17:30 -04:00
test Add Windows file version information to libpq/test programs. 2022-07-03 13:07:17 -07:00
.gitignore Run tap tests in src/interfaces/libpq. 2022-02-26 16:51:47 -08:00
Makefile Don't define FRONTEND for libpq 2022-08-22 20:39:30 -07:00
README Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
exports.txt Add PQsendFlushRequest to libpq 2021-06-29 14:37:39 -04:00
fe-auth-sasl.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
fe-auth-scram.c libpq code should use libpq_gettext(), not _() 2022-08-25 20:46:58 +02:00
fe-auth.c Remove redundant null pointer checks before free() 2022-07-03 11:47:15 +02:00
fe-auth.h Improve error handling of HMAC computations 2022-01-13 16:17:21 +09:00
fe-connect.c Remove configure probe for sockaddr_in6 and require AF_INET6. 2022-08-26 10:18:30 +12:00
fe-exec.c Add missing bad-PGconn guards in libpq entry points. 2022-08-15 15:40:07 -04:00
fe-gssapi-common.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
fe-gssapi-common.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
fe-lobj.c Rearrange libpq's error reporting to avoid duplicated error text. 2022-02-18 15:35:21 -05:00
fe-misc.c Remove configure probe for sys/select.h. 2022-08-14 00:09:47 +12:00
fe-print.c Remove redundant null pointer checks before free() 2022-07-03 11:47:15 +02:00
fe-protocol3.c Remove configure probe for netinet/tcp.h. 2022-08-18 16:31:11 +12:00
fe-secure-common.c Remove redundant null pointer checks before free() 2022-07-03 11:47:15 +02:00
fe-secure-common.h libpq: Allow IP address SANs in server certificates 2022-04-01 15:51:23 +02:00
fe-secure-gssapi.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
fe-secure-openssl.c Remove configure probe for netinet/tcp.h. 2022-08-18 16:31:11 +12:00
fe-secure.c Remove configure probe for netinet/tcp.h. 2022-08-18 16:31:11 +12:00
fe-trace.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
legacy-pqsignal.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
libpq-events.c Don't let libpq "event" procs break the state of PGresult objects. 2022-02-18 11:37:27 -05:00
libpq-events.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
libpq-fe.h Enable SSL library detection via PQsslAttribute() 2022-03-29 14:02:45 +02:00
libpq-int.h libpq code should use libpq_gettext(), not _() 2022-08-25 20:46:58 +02:00
nls.mk Revert "Use wildcards instead of manually-maintained file lists in */nls.mk." 2022-07-13 14:29:10 -04:00
pg_service.conf.sample Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
pqexpbuffer.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
pqexpbuffer.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pthread-win32.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
win32.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
win32.h Recognize network-failure errnos as indicating hard connection loss. 2020-10-10 13:28:12 -04:00

README

src/interfaces/libpq/README

This directory contains the C version of Libpq, the POSTGRES frontend library.