Re: more fun with sco - Mailing list pgsql-hackers

From Larry Rosenman
Subject Re: more fun with sco
Date
Msg-id 20001130101313.A16340@lerami.lerctr.org
Whole thread Raw
In response to more fun with sco  ("Arno A. Karner" <karner@tnss.com>)
List pgsql-hackers
* Arno A. Karner <karner@tnss.com> [001130 10:09]:
> thanks for the infor commented out define complex macro poof compiles :)
> initdb works :)
> createuser, createdb fail :( no entry in pg_hba.conf, have looked at it
> looks like the standard default one on my linux box has entries for
> local and for host 127.0.0.1
> i would search the archives but when i tried to do that got page not
> found on one of the groups, and not very meaningful, recent entries on
> key word sco
> i am assuming a lot of these problems are sco releated, because havent
> had any problems running apache, php, postgres on linux, if i cant get
> this running on sco my client gets my laptop running linux, untill i can
> come up with apache + php + sql database on sco :(
> 
> will try more searchs but its deault config, and it is being parsed,
> hacked it once mad typo gives me syntax error, removed hacks no syntax
> error but access denied
> 
> sorry to be such a pest, for being on the mailing list for only a few
> hours now, but the response and help ive got has been great, god i love
> open source code
> 
> thanks in advance Arno

I assume 7.0.3 of PG...

Apply the following patch in src/backend/libpq:

*** pqcomm.c.old    Thu May 25 20:26:19 2000
--- pqcomm.c    Sun Nov 12 12:03:25 2000
***************
*** 354,359 ****
--- 354,361 ----         perror("postmaster: StreamConnection: accept");         return STATUS_ERROR;     }
+     if (port->raddr.sa.sa_family == 0)
+         port->raddr.sa.sa_family = AF_UNIX;      /* fill in the server (local) address */     addrlen =
sizeof(port->laddr);
> -- 
> My opinions are my own and not that of my employer even if I am self
> employed
-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


pgsql-hackers by date:

Previous
From: "Arno A. Karner"
Date:
Subject: more fun with sco
Next
From: Guus Kerpel
Date:
Subject: Size of my data base?