This file is indexed.

/usr/share/doc/odbc-postgresql/docs/win32-compilation.html is in odbc-postgresql 1:09.03.0300-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
    <title>Compiling psqlODBC on Windows</title>
  </head>

  <body bgcolor="#ffffff" text="#000000" link="#ff0000" vlink="#a00000" alink="#0000ff">

<h1>Compiling psqlODBC on Windows</h1>

<p>
This page describes how to build the PostgreSQL ODBC Driver on Win32 platforms.
Microsoft Visual C++ version 6.0 or Microsoft Visual C++ 2005 Edition. Other
compilers may work  but have not been formally tested. psqlODBC may be built
either in the VC++ IDE or from the command line:
</p>

<h2>IDE Method</h2>

<p>A Microsoft Visual Studio project file (and workspace) is included in the source tree.
</p>

<p><strong>psqlodbc.dsp</strong>
 can be used with Microsoft Visual C++ 6.0.
</p>

<p><strong>psqlodbc.proj</strong> and
<strong>psqlodbc.sln</strong>
can be used with Microsoft Visual C++ 2005 Edition (including the Express edition which can be downloaded free of charge from <a href="http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/default.aspx">http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/default.aspx</a>)
</p>

<p>
     Preparation before the build:
</p>
<ol>
  <li>The Windows distribution of PostgreSQL will install the required headers and libraries into C:\Program Files\PostgreSQL\9.2
  <li>OpenSSL should be installed into C:\OpenSSL (OpenSSL binaries can be downloaded from <a href="http://www.slproweb.com/products/Win32OpenSSL.html">http://www.slproweb.com/products/Win32OpenSSL.html</a>)
</li></ol>

<p>
       If you want to change the installation arrangement, it
is necessary to edit the project settings.
</p>

<p>
        Note:
</p>

<p>
The default build settings will create the following driver:
</p>

<ol>
<li>UNICODE support.
<li>libpq and SSL equipped are supported.
<li>Kerberos are supported peculiar by psqlODBC.
<li>ODBCVER is 0x0351.
<li>The driver filename is "psqlodbc35w.dll".</li></ol>

<h2>Command Line Method</h2>
<p>
        Build&nbsp;method:
</p>
<ol>
<li>Use NMAKE.exe to build the dll for the 32bit environment.<br><br>

    <code>C:\psqlodbc\&gt; nmake /f win32.mak CFG=Release ALL</code><br><br>

    Possible configurations are Release and Debug.<br>
    Possible build types are ALL or CLEAN. <br>&nbsp;</li>
<li>Use NMAKE.exe to build the dll for the 64bit environment.<br><br>

    <code>C:\psqlodbc\&gt; nmake /f win64.mak CFG=Release ALL</code><br><br>

    Possible configurations are Release and Debug.<br>
    Possible build types are ALL or CLEAN.</li></ol>


<p>Note:</p>

<p>
The following build options may be used:
</p>


<p>
<table cellspacing="0" cellpadding="3" width="780" border=1>

  <tr>
    <td>Valiable</td>
    <td>Values</td>
    </tr>
  <tr>
    <td>CFG</td>
    <td>Release(default), or Debug</td>
    </tr>
  <tr>
    <td>PG_INC</td>
    <td>$(PROGRAMFILES)\PostgreSQL\9.2\include</td>
    </tr>
  <tr>
    <td>PG_LIB</td>
    <td>$(PROGRAMFILES)\PostgreSQL\9.2\lib\ms</td>
    </tr>
  <tr>
    <td>SSL_INC</td>
    <td>C:\OpenSSL\include</td>
    </tr>
  <tr>
   <td>SSL_LIB</td>
   <td>C:\OpenSSL\lib\VC</td>
    </tr>
  <tr>
    <td>LINKMT</td>
    <td>MT</td>
  </tr>
  <tr>
    <td>ANSI_VERSION</td>
    <td>No (at the Yes, output dll name to psqlodbc30a.dll)</td>
  </tr>
  <tr>
    <td>MSDTC</td>
    <td>Yes (but VC++ 6.0 default is no)</td>
  </tr>
  <tr>
    <td>USE_LIBPQ</td>
    <td>No (libpq is required) </td>
  </tr>
  <tr>
    <td>USE_SSPI</td>
    <td>Yes (secur32 and crypt32 is required) </td>
  </tr>
  <tr>
    <td>USE_GSS</td>
    <td>Yes (use gssapi required, this option is effective at 64bit now) </td>
  </tr>
  </table></p>

<ol>
<li>UNICODE is default (psqlodbc35w.dll), unless ANSI_VERSION isselected (psqlodbc30a.dll)</li>
<li>libpq.dll is used supported.</li>
<li>SSL and Kerberos are original equipment.</li>
<li>ODBCVER becomes 0x351 when UNICODE is selected, or becomes 0x0300 with ANSI_VERSION == Yes.</li>
<li>If MSDTC == Yes, "pgxalib.dll" is created.</li>
<li>In the MSDTC mode, ANSI_VERSION also creates "pgenlista.dll". or UNICODE creates "pgenlist.dll".</li>
</ol>.
</body>
</html>