| The PostgreSQL 9.0 Reference Manual - Volume 3 - Server Administration Guide
by The PostgreSQL Global Development Group Paperback (6"x9"), 274 pages ISBN 9781906966072 RRP £9.95 ($14.95) Sales of this book support the PostgreSQL project! Get a printed copy>>> |
1.8.1.2 Unix-domain sockets broken
AIX 5.3 has a problem
where sockaddr_storage is not defined to
be large enough. In version 5.3, IBM increased the size of
sockaddr_un, the address structure for
Unix-domain sockets, but did not correspondingly increase the
size of sockaddr_storage. The result of
this is that attempts to use Unix-domain sockets with PostgreSQL
lead to libpq overflowing the data structure. TCP/IP connections
work OK, but not Unix-domain sockets, which prevents the
regression tests from working.
The problem was reported to IBM, and is recorded as bug report
PMR29657. If you upgrade to maintenance level 5300-03 or later,
that will include this fix. A quick workaround
is to alter _SS_MAXSIZE to 1025 in
‘/usr/include/sys/socket.h’. In either case,
recompile PostgreSQL once you have the corrected header file.
| ISBN 9781906966072 | The PostgreSQL 9.0 Reference Manual - Volume 3 - Server Administration Guide | See the print edition |