Re: Strange Windows problem, lock_timeout test request

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
Cc: Boszormenyi Zoltan <zb(at)cybertec(dot)at>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Craig Ringer <craig(at)2ndquadrant(dot)com>, Hans-Jürgen Schönig <hs(at)cybertec(dot)at>, Ants Aasma <ants(at)cybertec(dot)at>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: Strange Windows problem, lock_timeout test request
Date: 2013-01-24 19:41:18
Message-ID: 51018E5E.8020005@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 01/24/2013 01:44 PM, Jeff Janes wrote:
> On Sat, Jan 19, 2013 at 12:15 PM, Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:
>> On 01/19/2013 02:36 AM, Boszormenyi Zoltan wrote:
>> A long time ago I had a lot of sympathy with this answer, but these days not
>> so much. Getting a working mingw/msys environment sufficient to build a bare
>> bones PostgreSQL from scratch is both cheap and fairly easy. The
>> improvements that mingw has made in its install process, and the presence of
>> cheap or free windows instances in the cloud combine to make this pretty
>> simple. But since it's still slightly involved here is how I constructed
>> one such this morning:
> I've used this description, skipping the Amazon part and putting it
> directly on my Windows computer, and it worked.
>
> Except bin/pg_ctl does not work. It just silently exits without doing
> anything, so I have to use bin/postgres to start the database (which
> is what "make check" uses anyway, so not a problem if you just want
> make check). Is that just me or is that a known problem? I've seen
> some discussion from 2004, but didn't find a conclusion.

Did you copy libpq.dll from the lib directory to the bin directory? If
not, try that and see if it fixes the problem.

>
> What advantages does mingw have over MSVC? Is it just that it is
> cost-free, or is it easier to use mingw than MSVC for someone used to
> building on Linux? (mingw certainly does not seem to have the
> advantage of being fast!)

See Craig's email today about problems with SDKs and availabilty of

>
> Would you like to put this somewhere on wiki.postgresql.org, or would
> you mind if I do so?
>
> Thanks for the primer,
>
> Jeff
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jameison Martin 2013-01-24 19:43:59 Re: Re: patch submission: truncate trailing nulls from heap rows to reduce the size of the null bitmap [Review]
Previous Message Heikki Linnakangas 2013-01-24 19:26:15 Re: gistchoose vs. bloat