From: | Christopher Browne <cbbrowne(at)acm(dot)org> |
---|---|
To: | pgsql-ports(at)postgresql(dot)org |
Subject: | AIX 5.3 and PostgreSQL... |
Date: | 2005-07-11 23:57:11 |
Message-ID: | m3vf3gvqug.fsf_-_@mobile.int.cbbrowne.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-ports |
Today, we had a bit of a breakthru vis-a-vis AIX 5.3; after installing
GCC 4.0.1, this allowed PostgreSQL 7.4.8 to compile and install
cleanly. This included the handling of pthreads, needful for Slony-I
to function.
There is still a problem, specifically with the handling of Unix
Domain Sockets. The previously noticed problem with socket address
structure sizing is indeed a problem. Here's a little program that
demonstrates it...
--------------------------------------------------------------
#include <stdio.h>
#include <sys/un.h>
#include <sys/socket.h>
int main (int argc, char *argv[]) {
struct sockaddr_storage a;
struct sockaddr_un b;
printf("Size of sockadr_storage: %d\n", sizeof(a));
printf ("Size of sockaddr_un:%d\n", sizeof(b));
if (sizeof(a) >= sizeof(b))
printf ("Conformant to RFC 3493\n");
else
printf ("Non-conformant to RFC 3493\n");
}
--------------------------------------------------------------
Without UDS, regression tests won't run. (Feel free to tell me that
I'm wrong, and that there's an option that will cause it to use a
localhost interface...)
However, I was able to, with the use of GCC 4.0.1, get PG 7.4.8 to
work to the point where I was able to run one the base Slony-I "duct
tape" tests, and that worked fine.
In a way, it turns out to merely be an inconvenience as we're running
nearly all services across TCP/IP anyways, so that the lack of UDS
isn't crippling.
But it's obviously a non-conformance to the RFC, so we're starting to
push it upstream...
--
let name="cbbrowne" and tld="acm.org" in String.concat "@" [name;tld];;
http://cbbrowne.com/info/rdbms.html
Rules of the Evil Overlord #153. "My Legions of Terror will be an
equal-opportunity employer. Conversely, when it is prophesied that no
man can defeat me, I will keep in mind the increasing number of
non-traditional gender roles." <http://www.eviloverlord.com/>
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Hammond | 2005-07-13 14:21:54 | Re: pthreads issue when compiling 7.4.8 on AIX 5.3 -- RESOLVED |
Previous Message | Mark Richardson | 2005-07-08 16:59:48 | HPux 11i |