pgsql: Assorted fixes to make pg_upgrade build on MSVC. - Mailing list pgsql-committers

From mha@postgresql.org (Magnus Hagander)
Subject pgsql: Assorted fixes to make pg_upgrade build on MSVC.
Date
Msg-id 20100513155815.5F8597541D3@cvs.postgresql.org
Whole thread Raw
List 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:

Previous
From: petere@postgresql.org (Peter Eisentraut)
Date:
Subject: pgsql: Translation update
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Use "TOAST table" in place of the vague, not-used-elsewhere