Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1erCtq-0003iq-Hv for pgsql-docs@arkaria.postgresql.org; Thu, 01 Mar 2018 01:20:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1erCto-0000g6-KQ for pgsql-docs@arkaria.postgresql.org; Thu, 01 Mar 2018 01:20:44 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1erCto-0000fx-B3 for pgsql-docs@lists.postgresql.org; Thu, 01 Mar 2018 01:20:44 +0000 Received: from mail-vk0-x244.google.com ([2607:f8b0:400c:c05::244]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1erCtk-00009K-Kp for pgsql-docs@lists.postgresql.org; Thu, 01 Mar 2018 01:20:43 +0000 Received: by mail-vk0-x244.google.com with SMTP id a63so2739575vkg.6 for ; Wed, 28 Feb 2018 17:20:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=eszaMlvM2dperEDHADr/OSnVtZCwAKzw7KigyYe7LNc=; b=jd5ZPyurU6TrO1JjEMNN8rIlyqvIPU/J0kGaVDiEJYNjLT9m5ltT2ScQYiJUrbC5KD JJKIRaDvLKubFawRr0aTqW1pL9i1R10Zhjn1xeI6nhznLLlgVoRB+Ab3QzbVVnF6BN2f IReboE7ySZ4yrc8vsrhEN4HW+UI7nWHI3b8af+sw3unjVg3bAuxTkSTIL5VsKbOM2QFR GpnbHGGg7+WmJkmPpgEZ299lPNGfSNgRiTImcYHn8l/os/Q84m0fJjV9lYYDbgdeuWNn e5doQ19IvDXdwO57BPLIhd9RVm0zMf5VI1CtNLxsWGAEd5wWSVt1NSSM1oPORtKCEXDU IlJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=eszaMlvM2dperEDHADr/OSnVtZCwAKzw7KigyYe7LNc=; b=C8/MOaz//cJvwx8eznLrVWjEXahGutVBDonf5trqBjMWpfZhPuWUNvbEy0V7IKyCsR 8D2R2NGHi/VpOVrNLEwdAIHt/1A65uSbucrbkym01seS5/gThkv2eY9LXy82MM063jtU +aYxE+EWRkqRmUdCdP3ezOKiIdP8G7YEPyTr+mOPzL9HSgdlIuYLWmXuiuI+lEWnkbuK SLNRxB8a8VGwG2ZUKbFWiOKzHmFGCqHNu4xoPgpI2H6Gwr+237AuoDBzPCrhOVleAeg6 u8EEoXwW50zQocdRd+J5KjQcxRt4Nil7iZbO1U0ReIKrv2bP1j6oex4YF1A0m1WnCAtC 3icw== X-Gm-Message-State: APf1xPBn1FZ4Lee00EN8nOPjWAqPmgsNcsrQRjXNkb83sARJWX6km7ZA ncOSRvbdeFdL6O8VNKCFeMqr6WsLS26M+kbIC+N4bA== X-Google-Smtp-Source: AG47ELtyOid9tj0u5h4VFhzcpuTUGTxZhqOFUouE+R93B+gmXApqMZyem9QtJJfUApruHK0tF4BGmAcusgctXJMPKGs= X-Received: by 10.31.178.69 with SMTP id b66mr48320vkf.145.1519867239310; Wed, 28 Feb 2018 17:20:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.176.14.13 with HTTP; Wed, 28 Feb 2018 17:20:38 -0800 (PST) In-Reply-To: <151983551162.21249.10738998753213505849@wrigleys.postgresql.org> References: <151983551162.21249.10738998753213505849@wrigleys.postgresql.org> From: Craig Ringer Date: Thu, 1 Mar 2018 09:20:38 +0800 Message-ID: Subject: Re: Missing steps for "Building with Visual C++ or the Microsoft Windows SDK" To: mmicr001@odu.edu, pgsql-docs@lists.postgresql.org Content-Type: multipart/alternative; boundary="001a11430c8ae7bdd405664faab1" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --001a11430c8ae7bdd405664faab1 Content-Type: text/plain; charset="UTF-8" On 1 March 2018 at 00:31, PG Doc comments form wrote: > The following documentation comment has been logged on the website: > > Page: https://www.postgresql.org/docs/9.6/static/install-windows-full.html > Description: > > Hi, > I am not very experienced and some of these corrections may be trivial or > childish. > > I have been following the steps for "Building with Visual C++ or the > Microsoft Windows SDK" for 9.6. using Visual Studio 2015. > Everything was pretty straightforward aside from a few things: > > - I didn't find a config.pl file and wasn't sure if I created it what > exactly to put in it (I thought about copy/paste from the > "config_default.pl" but decided not to). Instead I added all the required > libraries to the system PATH. > It wouldn't hurt to spell that out explicitly, though I would've assumed it was implied by the filename and presence of a config_default.pl . Please send a docs patch. > > - After having successfully run "build" and "install" I was having issues > running the regression tests. "vcregress check" ran fine but after that I > kept getting this error: > ----------------------------------------------------- > psql: could not connect to server: Connection refused (0x0000274D/10061) > Is the server running on host "localhost" (::1) and accepting > TCP/IP connections on port 5432? > ------------------------------------------------------ > Obviously, there was no server running. But I was never instructed to > create > a data directory or user, and run "initDB" and "pgstl Start" before this > step. I think that should be added somewhere between to avoid confusion. (I > may be completely wrong and have missed some step somewhere) > vcregress check should create a temporary datadir and start a temporary server. If it fails to do so, there's something wrong with your setup. It's likely this is related to the missing config.pl . vcregress installcheck (different command) requires an existing running server. But that's not what you ran. -- Craig Ringer http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services --001a11430c8ae7bdd405664faab1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On 1= March 2018 at 00:31, PG Doc comments form <noreply@postgresql.org> wrote:
The following documen= tation comment has been logged on the website:

Page:
https://www.postgresql.org= /docs/9.6/static/install-windows-full.html
Description:

Hi,
I am not very experienced and some of these corrections may be trivial or childish.

I have been following the steps for "Building with Visual C++ or the Microsoft Windows SDK" for 9.6. using Visual Studio 2015.
Everything was pretty straightforward aside from a few things:

- I didn't find a config.pl file and wasn't sure if I created it what exactly to put in it (I thought about copy/paste from the
"config_default.pl" but decided not to). Instead I added all t= he required
libraries to the system PATH.

It wouldn= 't hurt to spell that out explicitly, though I would've assumed it = was implied by the filename and presence of a config_default.pl .

Please send a docs= patch.
=C2=A0

- After having successfully run "build" and "install" I= was having issues
running the regression tests. "vcregress check" ran fine but afte= r that I
kept getting this error:
-----------------------------------------------------
psql: could not connect to server: Connection refused (0x0000274D/10061) =C2=A0 =C2=A0 =C2=A0 =C2=A0 Is the server running on host "localhost&q= uot; (::1) and accepting
=C2=A0 =C2=A0 =C2=A0 =C2=A0 TCP/IP connections on port 5432?
------------------------------------------------------
Obviously, there was no server running. But I was never instructed to creat= e
a data directory or user, and run "initDB" and "pgstl Start&= quot; before this
step. I think that should be added somewhere between to avoid confusion. (I=
may be completely wrong and have missed some step somewhere)


vcregress check should create a tempor= ary datadir and start a temporary server. If it fails to do so, there's= something wrong with your setup. It's likely this is related to the mi= ssing config.pl .

vcregress installcheck (different command) requires an existing running se= rver. But that's not what you ran.=C2=A0

-- <= br>
=C2=A0Craig Ringer=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 http://= www.2ndQuadrant.com/
=C2=A0PostgreSQL Development, 24x7 Support, Tra= ining & Services
--001a11430c8ae7bdd405664faab1--