~ubuntu-branches/ubuntu/lucid/postgresql-8.4/lucid-proposed

« back to all changes in this revision

Viewing changes to doc/src/FAQ/FAQ_MINGW.html

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-09-06 14:11:13 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20090906141113-qf5f3hkw7n036jfy
Tags: 8.4.1-1
* Urgency medium due to security fix.
* New upstream security/bug fix release:
  - Disallow "RESET ROLE" and "RESET SESSION AUTHORIZATION" inside
    security-definer functions. This covers a case that was missed in the
    previous patch that disallowed "SET ROLE" and "SET SESSION
    AUTHORIZATION" inside security-definer functions. [CVE-2007-6600]
  - Fix WAL page header initialization at the end of archive recovery.
    This could lead to failure to process the WAL in a subsequent archive
    recovery.
  - Fix "cannot make new WAL entries during recovery" error.
  - Fix problem that could make expired rows visible after a crash.
    This bug involved a page status bit potentially not being set
    correctly after a server crash.
  - Make "LOAD" of an already-loaded loadable module into a no-op.
    Formerly, "LOAD" would attempt to unload and re-load the module,
    but this is unsafe and not all that useful.
  - Make window function PARTITION BY and ORDER BY items always be
    interpreted as simple expressions.
    In 8.4.0 these lists were parsed following the rules used for
    top-level GROUP BY and ORDER BY lists. But this was not correct per
    the SQL standard, and it led to possible circularity.
  - Fix several errors in planning of semi-joins. These led to wrong query
    results in some cases where IN or EXISTS was used together with another
    join.
  - Fix handling of whole-row references to subqueries that are within
    an outer join. An example is SELECT COUNT(ss.-) FROM ... LEFT JOIN
    (SELECT ...) ss ON .... Here, ss.- would be treated as
    ROW(NULL,NULL,...) for null-extended join rows, which is not the same as
    a simple NULL.  Now it is treated as a simple NULL.
  - Fix locale handling with plperl. This bug could cause the server's
    locale setting to change when a plperl function is called, leading to
    data corruption.
  - Fix handling of reloptions to ensure setting one option doesn't
    force default values for others.
  - Ensure that a "fast shutdown" request will forcibly terminate open
    sessions, even if a "smart shutdown" was already in progress.
  - Avoid memory leak for array_agg() in GROUP BY queries.
  - Treat to_char(..., 'TH') as an uppercase ordinal suffix with
    'HH'/'HH12'.  It was previously handled as 'th'.
  - Include the fractional part in the result of EXTRACT(second) and
    EXTRACT(milliseconds) for time and time with time zone inputs.
    This has always worked for floating-point datetime configurations,
    but was broken in the integer datetime code.
  - Fix overflow for INTERVAL 'x ms' when "x" is more than 2 million
    and integer datetimes are in use.
  - Improve performance when processing toasted values in index scans.
    This is particularly useful for PostGIS.
  - Fix a typo that disabled commit_delay.
  - Output early-startup messages to "postmaster.log" if the server is
    started in silent mode. Previously such error messages were discarded,
    leading to difficulty in debugging.
  - Remove translated FAQs. They are now on the wiki. The main FAQ was moved
    to the wiki some time ago.
  - Fix pg_ctl to not go into an infinite loop if "postgresql.conf" is
    empty.
  - Fix several errors in pg_dump's --binary-upgrade mode. pg_dump
    --binary-upgrade is used by pg_migrator.
  - Fix "contrib/xml2"'s xslt_process() to properly handle the maximum
    number of parameters (twenty).
  - Improve robustness of libpq's code to recover from errors during
    "COPY FROM STDIN".
  - Avoid including conflicting readline and editline header files when
    both libraries are installed.
  - Work around gcc bug that causes "floating-point exception" instead
    of "division by zero" on some platforms.
* debian/control: Bump Standards-Version to 3.8.3 (no changes necessary).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
 
<html>
3
 
<head>
4
 
  <meta http-equiv="content-type"
5
 
 content="text/html; charset=ISO-8859-1">
6
 
  <title>PostgreSQL Native Win32 Status Report</title>
7
 
</head>
8
 
<body>
9
 
<h1 style="text-align: center;">Compiling PostgreSQL On Native Win32 FAQ<br>
10
 
</h1>
11
 
<P>Last updated: Thu Oct 14 18:22:57 EDT 2004</P>
12
 
<P>Current maintainer: Bruce Momjian &lt;<A href=
13
 
"mailto:bruce@momjian.us">bruce@momjian.us</A>&gt;<BR>
14
 
</P>
15
 
 
16
 
<P>The most recent version of this document can be viewed at <A href=
17
 
"http://www.postgresql.org/docs/faqs.FAQ_MINGW.html">
18
 
http://www.postgresql.org/docs/faqs.FAQ_MINGW.html</A>.</P>
19
 
 
20
 
<P>The FAQ Running & Installing PostgreSQL On Native Windows is at <A href=
21
 
"http://pginstaller.projects.postgresql.org/faq/FAQ_windows.html">
22
 
http://pginstaller.projects.postgresql.org/faq/FAQ_windows.html</A>.</P>
23
 
 
24
 
<p>The native Win32 port is built from source using MinGW tools.&nbsp;
25
 
There is also a precompiled binary installer called <span
26
 
 style="font-style: italic;">pginstaller</span> which you can find at
27
 
from <a href="http://pgfoundry.org/projects/pginstaller">http://pgfoundry.org/projects/pginstaller</a>.&nbsp;
28
 
It is a fully native build and uses no additional software like MinGW.
29
 
The ready-made installer files are available on the main PostgreSQL ftp servers
30
 
in the binary/win32 directory.
31
 
<br>
32
 
</p>
33
 
<h2>Tools for Building Binaries<br>
34
 
</h2>
35
 
<p> The native Win32 port requires a 32-bit NT-based Microsoft
36
 
operating
37
 
system, like Windows NT 4, Windows 2000/2003, or Windows XP. (NT 4
38
 
is no longer supported since version 8.2)&nbsp; Earlier
39
 
operating systems do not have sufficient infrastructure. Building the
40
 
port also
41
 
requires MinGW and Msys, which can be downloaded from <a
42
 
 href="http://www.mingw.org/">http://www.mingw.org/</a>. MinGW is
43
 
a Unix-like build environment for Microsoft operating systems.
44
 
Msys is a collection of unix tools required to run shell scripts like <i>configure.&nbsp;
45
 
</i>Neither is required to run the resulting binaries;&nbsp; they are
46
 
needed only for creating the binaries.&nbsp; Work is in progress to support
47
 
building using Visual C++ in a future version.<br>
48
 
</p>
49
 
<h2>Steps For Building Binaries<br>
50
 
</h2>
51
 
<ul>
52
 
  <li>Download the nightly snapshot tarball from <a
53
 
 href="ftp://ftp.postgresql.org/pub/dev">ftp://ftp.postgresql.org/pub/dev</a>
54
 
or checkout via CVS (you will need <i>bison, flex,</i> and <i>perl</i>
55
 
installed to build from CVS)<br>
56
 
  </li>
57
 
  <li>Run <i>configure</i> (you might need to add the --without-zlib
58
 
argument, depending on whether you have installed <span
59
 
 style="font-style: italic;">zlib
60
 
    </span>on MinGW)</li>
61
 
  <li>Run <i>make install</i></li>
62
 
</ul>
63
 
Note:&nbsp; it is suggested that you run <i>psql</i> under <i>CMD.EXE.</i>,
64
 
as the Msys console has buffering issues.<br>
65
 
<br>
66
 
If you make a change that you want to contribute, make a context diff
67
 
and send
68
 
it to the mailing list. <br>
69
 
<h2>Resources</h2>
70
 
There are several resources that helped us complete this port:<br>
71
 
<ul>
72
 
  <li>PeerDirect port of PostgreSQL 7.2 to Win32 (<a
73
 
 href="ftp://momjian.postgresql.org/pub/postgresql/win32/PeerDirect">ftp://momjian.postgresql.org/pub/postgresql/win32/PeerDirect</a>)</li>
74
 
  <li>CONNX Win32 signal code(<a
75
 
 href="ftp://momjian.postgresql.org/pub/postgresql/win32/CONNX">ftp://momjian.postgresql.org/pub/postgresql/win32/CONNX</a>)</li>
76
 
  <li>SRA port of PostgreSQL to Win32 (unfortunately, this is not
77
 
publically available because the threaded portion is proprietary)</li>
78
 
  <li>CHM help files (<a
79
 
 href="http://www.pgadmin.org/snapshots/help/en_US/pgadmin3.chm">http://www.pgadmin.org/snapshots/help/en_US/pgadmin3.chm</a>)</li>
80
 
</ul>
81
 
</body>
82
 
</html>