X-Original-To: pgsql-ports-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id D6FCA529EA for ; Tue, 12 Jul 2005 09:57:22 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 55193-10 for ; Tue, 12 Jul 2005 12:57:00 +0000 (GMT) Received: from floppy.pyrenet.fr (news.pyrenet.fr [194.116.145.2]) by svr1.postgresql.org (Postfix) with ESMTP id 71F7A52AEC for ; Tue, 12 Jul 2005 04:17:57 -0300 (ADT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id B8E4530B42; Tue, 12 Jul 2005 09:22:39 +0200 (MET DST) From: Christopher Browne X-Newsgroups: pgsql.ports Subject: AIX 5.3 and PostgreSQL... Date: Mon, 11 Jul 2005 19:57:11 -0400 Organization: cbbrowne Computing Inc Lines: 48 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@news.hub.org X-message-flag: Outlook is rather hackable, isn't it? X-Home-Page: http://www.cbbrowne.com/info/ X-Affero: http://svcs.affero.net/rm.php?r=cbbrowne User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, berkeley-unix) Cancel-Lock: sha1:vPY2WJNo0rI6HbX8XfZ7pWb1VQA= To: pgsql-ports@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.24 tagged_above=0 required=5 tests=AWL, DATE_IN_PAST_06_12 X-Spam-Level: X-Archive-Number: 200507/12 X-Sequence-Number: 2152 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 #include #include 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."