From owner-freebsd-current Thu Jan 29 10:27:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA21905 for current-outgoing; Thu, 29 Jan 1998 10:27:44 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from hub.org (hub.org [209.47.148.200]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA21900 for ; Thu, 29 Jan 1998 10:27:42 -0800 (PST) (envelope-from scrappy@hub.org) Received: from localhost (scrappy@localhost) by hub.org (8.8.8/8.7.5) with SMTP id NAA15064; Thu, 29 Jan 1998 13:27:40 -0500 (EST) Date: Thu, 29 Jan 1998 13:27:38 -0500 (EST) From: The Hermit Hacker To: Simon Shapiro cc: freebsd-current@FreeBSD.ORG Subject: Re: your mail In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe current" On Thu, 29 Jan 1998, Simon Shapiro wrote: > I am on shaky ground here, so be kind to me: > > I am trying to get a very new PostgreSQL snapshot to work. > One of the things it does is create a UNIX Socket in /tmp. > It uses a template to create the ``filename'': > > #define UNIXSOCK_PATH(sun,port) \ > (sprintf((sun).sun_path, "/tmp/.s.PGSQL.%d", (port)) + \ > sizeof ((sun).sun_family)) > > This seems to work OK (I traced it in the RDBMS code), up to the bind > syscall. The port is 5432, and the socket gets created as: > > srwx------ 1 pgsql bin 0 Jan 27 16:18 /tmp/.s.PGSQL.543 > > The bind(2) call is: Just curious, but I'm running the snapshot on my 3.0-CURRENT machine and I can run the full regression tests without a problem...what sort of problem are you experiencing?