Skip site navigation (1) Skip section navigation (2)

pgsql: Assorted fixes to make pg_upgrade build on MSVC.

From: mha(at)postgresql(dot)org (Magnus Hagander)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Assorted fixes to make pg_upgrade build on MSVC.
Date: 2010-05-13 15:58:15
Message-ID: 20100513155815.5F8597541D3@cvs.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Assorted fixes to make pg_upgrade build on MSVC.

* There is no chmod() on Windows.
* Must always use the 3-parameter version of open()
* There is no dynloader.h - but it also appears unnecessary on all platforms
* Don't include shlobj.h because it causes compile errors, and from what I can
  see it's not actually used. This may need to be added back for mingw
  and/or cygwin in the worst case.

Modified Files:
--------------
    pgsql/contrib/pg_upgrade:
        check.c (r1.2 -> r1.3)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/pg_upgrade/check.c?r1=1.2&r2=1.3)
        exec.c (r1.1 -> r1.2)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/pg_upgrade/exec.c?r1=1.1&r2=1.2)
        page.c (r1.1 -> r1.2)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/pg_upgrade/page.c?r1=1.1&r2=1.2)
        pg_upgrade.h (r1.2 -> r1.3)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/pg_upgrade/pg_upgrade.h?r1=1.2&r2=1.3)

pgsql-committers by date

Next:From: Andrew DunstanDate: 2010-05-13 16:39:43
Subject: pgsql: Abandon the use of Perl's Safe.pm to enforce restrictions in
Previous:From: Peter EisentrautDate: 2010-05-13 15:56:43
Subject: pgsql: Translation update

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group