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 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
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)
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2010-05-13 16:39:43 | pgsql: Abandon the use of Perl's Safe.pm to enforce restrictions in |
Previous Message | Peter Eisentraut | 2010-05-13 15:56:43 | pgsql: Translation update |