From 3186560f46b5076feb8776ae5e600b7ea0f31852 Mon Sep 17 00:00:00 2001
From: Robert Haas <rhaas@postgresql.org>
Date: Thu, 23 Sep 2010 17:44:22 -0400
Subject: [PATCH] Replace doc references to install-win32 with install-windows.

Windows is not necessarily 32-bit, any more.

As suggested by Mike Toews.
---
 doc/src/sgml/filelist.sgml                                | 2 +-
 doc/src/sgml/{install-win32.sgml => install-windows.sgml} | 8 ++++----
 doc/src/sgml/installation.sgml                            | 4 ++--
 doc/src/sgml/release-9.0.sgml                             | 6 +++---
 4 files changed, 10 insertions(+), 10 deletions(-)
 rename doc/src/sgml/{install-win32.sgml => install-windows.sgml} (99%)

diff --git a/doc/src/sgml/filelist.sgml b/doc/src/sgml/filelist.sgml
index b107c02b023..9b1de856b00 100644
--- a/doc/src/sgml/filelist.sgml
+++ b/doc/src/sgml/filelist.sgml
@@ -37,7 +37,7 @@
 <!entity diskusage     SYSTEM "diskusage.sgml">
 <!entity high-availability      SYSTEM "high-availability.sgml">
 <!entity installation  SYSTEM "installation.sgml">
-<!entity installw      SYSTEM "install-win32.sgml">
+<!entity installw      SYSTEM "install-windows.sgml">
 <!entity maintenance   SYSTEM "maintenance.sgml">
 <!entity manage-ag     SYSTEM "manage-ag.sgml">
 <!entity monitoring    SYSTEM "monitoring.sgml">
diff --git a/doc/src/sgml/install-win32.sgml b/doc/src/sgml/install-windows.sgml
similarity index 99%
rename from doc/src/sgml/install-win32.sgml
rename to doc/src/sgml/install-windows.sgml
index 50c28ebdc0c..4bf890e7597 100644
--- a/doc/src/sgml/install-win32.sgml
+++ b/doc/src/sgml/install-windows.sgml
@@ -1,6 +1,6 @@
-<!-- doc/src/sgml/install-win32.sgml -->
+<!-- doc/src/sgml/install-windows.sgml -->
 
-<chapter id="install-win32">
+<chapter id="install-windows">
  <title>Installation from Source Code on <productname>Windows</productname></title>
 
  <indexterm>
@@ -56,7 +56,7 @@
   binaries are built using <productname>Visual Studio</productname>.
  </para>
 
- <sect1 id="install-win32-full">
+ <sect1 id="install-windows-full">
   <title>Building with <productname>Visual C++</productname> or the
   <productname>Platform SDK</productname></title>
 
@@ -436,7 +436,7 @@ $ENV{DOCROOT}='c:\docbook';
 
  </sect1>
 
- <sect1 id="install-win32-libpq">
+ <sect1 id="install-windows-libpq">
   <title>Building <application>libpq</application> with
   <productname>Visual C++</productname> or
   <productname>Borland C++</productname></title>
diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml
index f3659ba0dd2..5c3cecd840d 100644
--- a/doc/src/sgml/installation.sgml
+++ b/doc/src/sgml/installation.sgml
@@ -2455,7 +2455,7 @@ createlang: language installation failed: ERROR:  could not load library "/opt/d
    <para>
     PostgreSQL can be built using Cygwin, a Linux-like environment for
     Windows, but that method is inferior to the native Windows build
-    <![%standalone-ignore[(see <xref linkend="install-win32">)]]> and
+    <![%standalone-ignore[(see <xref linkend="install-windows">)]]> and
     is no longer recommended.
    </para>
 
@@ -2706,7 +2706,7 @@ cc-1020 cc: ERROR File = pqcomm.c, Line = 427
     The MinGW build variant uses the normal build system described in
     this chapter; the Visual C++ build works completely differently
     and is described in <![%standalone-include[the
-    documentation]]><![%standalone-ignore[<xref linkend="install-win32">]]>.
+    documentation]]><![%standalone-ignore[<xref linkend="install-windows">]]>.
     It is a fully native build and uses no additional software like
     MinGW.  A ready-made installer is available on the main
     PostgreSQL web site.
diff --git a/doc/src/sgml/release-9.0.sgml b/doc/src/sgml/release-9.0.sgml
index d928f6c5ffa..2392e71dc89 100644
--- a/doc/src/sgml/release-9.0.sgml
+++ b/doc/src/sgml/release-9.0.sgml
@@ -66,7 +66,7 @@
 
     <listitem>
      <para>
-      Full support for <link linkend="install-win32">64-bit
+      Full support for <link linkend="install-windows">64-bit
       <productname>Windows</></link>.
      </para>
     </listitem>
@@ -2781,7 +2781,7 @@ if TG_OP = 'INSERT' and NEW.col1 = ... then
      <listitem>
       <para>
        Support compiling on <link
-       linkend="install-win32">64-bit
+       linkend="install-windows">64-bit
        <productname>Windows</></link> and running in 64-bit
        mode (Tsutomu Yamada, Magnus Hagander)
       </para>
@@ -2794,7 +2794,7 @@ if TG_OP = 'INSERT' and NEW.col1 = ... then
      <listitem>
       <para>
        Support server builds using <link
-       linkend="install-win32-full"><productname>Visual Studio
+       linkend="install-windows-full"><productname>Visual Studio
        2008</></link> (Magnus Hagander)
       </para>
      </listitem>
-- 
GitLab