Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit350f422

Browse files
author
Thomas G. Lockhart
committed
Include installation instructions for WIN32 client-side libraries.
From Magnus Hagander <mha@sollentuna.net>.
1 parenta1164a2 commit350f422

File tree

3 files changed

+145
-2
lines changed

3 files changed

+145
-2
lines changed

‎doc/src/sgml/admin.sgml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/Attic/admin.sgml,v 1.8 1998/10/31 09:36:31 thomas Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/Attic/admin.sgml,v 1.9 1999/01/07 02:59:45 thomas Exp $
33

44
Postgres Administrator's Guide.
55
Derived from postgres.sgml.
66
- thomas 1998-10-27
77

88
$Log: admin.sgml,v $
9+
Revision 1.9 1999/01/07 02:59:45 thomas
10+
Include installation instructions for WIN32 client-side libraries.
11+
From Magnus Hagander <mha@sollentuna.net>.
12+
913
Revision 1.8 1998/10/31 09:36:31 thomas
1014
Cleanup for v6.4 release.
1115
Make new file current.sgml to hold release info for the current release.
@@ -31,6 +35,7 @@ Bigger updates to the installation instructions (install and config).
3135
<!entity current SYSTEM "current.sgml">
3236
<!entity intro-ag SYSTEM "intro-ag.sgml">
3337
<!entity install SYSTEM "install.sgml">
38+
<!entity installw SYSTEM "install-win32.sgml">
3439
<!entity options SYSTEM "pg_options.sgml">
3540
<!entity ports SYSTEM "ports.sgml">
3641
<!entity recovery SYSTEM "recovery.sgml">
@@ -116,6 +121,7 @@ It provides SQL92/SQL3 language support,
116121
&ports;
117122
&config;
118123
&install;
124+
&installw;
119125
&runtime;
120126
&options;
121127
&start-ag;
@@ -134,3 +140,19 @@ Don't bother with an index until we get some index entries.
134140

135141
</Book>
136142

143+
<!-- Keep this comment at the end of the file
144+
Local variables:
145+
mode: sgml
146+
sgml-omittag:t
147+
sgml-shorttag:t
148+
sgml-minimize-attributes:nil
149+
sgml-always-quote-attributes:t
150+
sgml-indent-step:1
151+
sgml-indent-data:t
152+
sgml-parent-document:nil
153+
sgml-default-dtd-file:"./reference.ced"
154+
sgml-exposed-tags:nil
155+
sgml-local-catalogs:"/usr/lib/sgml/CATALOG"
156+
sgml-local-ecat-files:nil
157+
End:
158+
-->

‎doc/src/sgml/install-win32.sgml

Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
<Chapter Id="install-win32">
2+
<Title>Installation on Win32</Title>
3+
4+
<Abstract>
5+
<Para>
6+
Build and installation instructions for <ProductName>Postgres</ProductName>
7+
v6.4 client libraries on Win32.
8+
</Para>
9+
</Abstract>
10+
11+
<Sect1>
12+
<Title>Building the libraries</Title>
13+
14+
<Para>
15+
The makefiles included in <ProductName>Postgres</ProductName> are written
16+
for <ProductName>Microsoft Visual C++</ProductName>, and will probably
17+
not work with other systems. It should be possible to compile the libaries
18+
manually in other cases.
19+
</Para>
20+
21+
<Para>
22+
To build the libraries, change directory into the <filename>src</filename>
23+
directory, and type the command
24+
<programlisting>
25+
nmake /f win32.mak
26+
</programlisting>
27+
This assumes that you have <ProductName>Visual C++</ProductName> in your
28+
path.
29+
</Para>
30+
31+
<Para>
32+
The following files will be built:
33+
34+
<ItemizedList Mark="bullet" Spacing="compact">
35+
<ListItem>
36+
<Para>
37+
<filename>interfaces\libpq\Release\libpq.dll</filename>
38+
- The dynamically linkable frontend library
39+
</Para>
40+
</ListItem>
41+
42+
<ListItem>
43+
<Para>
44+
<filename>interfaces\libpq\Release\libpqdll.lib</filename>
45+
- Import library to link your program to libpq.dll
46+
</Para>
47+
</ListItem>
48+
49+
<ListItem>
50+
<Para>
51+
<filename>interfaces\libpq\Release\libpq.lib</filename> - Static library version of the frontend library
52+
</Para>
53+
</ListItem>
54+
55+
<ListItem>
56+
<Para>
57+
<filename>bin\psql\Release\psql.exe</filename> - The <ProductName>Postgresql</ProductName> interactive SQL monitor
58+
</Para>
59+
</ListItem>
60+
61+
</ItemizedList>
62+
</Para>
63+
64+
</Sect1>
65+
66+
<Sect1>
67+
<Title>Installing the libraries</Title>
68+
<Para>
69+
The only part of the library to really be installed is the
70+
<filename>libpq.dll</filename> library. This file should in most cases
71+
be placed in the <filename>WINNT\SYSTEM32</filename> directory (or in
72+
<filename>WINDOWS\SYSTEM</filename> on a Windows 95/98 system). If this
73+
file is installed using a setup program, it should be installed with
74+
version checking using the VERSIONINFO resource included in the file,
75+
to ensure that a newer version of the library is not overwritten.
76+
</Para>
77+
<Para>
78+
If you plan to do development using libpq on this machine, you will have
79+
to add the <filename>src\include</filename> and
80+
<filename>src\interfaces\libpq</filename> directories to the include
81+
path in your compilers settings.
82+
</Para>
83+
</Sect1>
84+
85+
<Sect1>
86+
<Title>Using the libraries</Title>
87+
<Para>
88+
To use the libraries, you must add the <filename>libpqdll.lib</filename>
89+
file to your project (in Visual C++, just right-click on the project and
90+
chose to add it).
91+
</Para>
92+
<Para>
93+
Once this is done, it should be possible to use the library just as you
94+
would on a Unix platform.
95+
</Para>
96+
</Sect1>
97+
98+
</Chapter>
99+
100+
<!-- Keep this comment at the end of the file
101+
Local variables:
102+
mode: sgml
103+
sgml-omittag:t
104+
sgml-shorttag:t
105+
sgml-minimize-attributes:nil
106+
sgml-always-quote-attributes:t
107+
sgml-indent-step:1
108+
sgml-indent-data:t
109+
sgml-parent-document:nil
110+
sgml-default-dtd-file:"./reference.ced"
111+
sgml-exposed-tags:nil
112+
sgml-local-catalogs:"/usr/lib/sgml/CATALOG"
113+
sgml-local-ecat-files:nil
114+
End:
115+
-->

‎doc/src/sgml/postgres.sgml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/postgres.sgml,v 1.15 1998/12/18 16:23:34 thomas Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/postgres.sgml,v 1.16 1999/01/07 02:59:45 thomas Exp $
33

44
Postgres integrated documentation.
55
Other subset docs should be copied and shrunk from here.
66
thomas 1998-02-23
77

88
$Log: postgres.sgml,v $
9+
Revision 1.16 1999/01/07 02:59:45 thomas
10+
Include installation instructions for WIN32 client-side libraries.
11+
From Magnus Hagander <mha@sollentuna.net>.
12+
913
Revision 1.15 1998/12/18 16:23:34 thomas
1014
Fix typos in rules.sgml.
1115
Add Emacs configuration block to postgres.sgml.
@@ -78,6 +82,7 @@ Move SQL reference pages up into the User's Guide.
7882
<!entity config SYSTEM "config.sgml">
7983
<!entity current SYSTEM "current.sgml">
8084
<!entity install SYSTEM "install.sgml">
85+
<!entity installw SYSTEM "install-win32.sgml">
8186
<!entity intro-ag SYSTEM "intro-ag.sgml">
8287
<!entity options SYSTEM "pg_options.sgml">
8388
<!entity ports SYSTEM "ports.sgml">
@@ -240,6 +245,7 @@ Installation and maintenance information.
240245
&ports;
241246
&config;
242247
&install;
248+
&installw;
243249
&runtime;
244250
&options;
245251
&start-ag;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp