11============================================================
2- Frequently Asked Questions (FAQ) for PostgreSQL V7.1
2+ Frequently Asked Questions (FAQ) for PostgreSQL7.2
33SCO UnixWare and OpenServer specific
44to be read in conjunction with the installation instructions
55============================================================
6- last updated: $Date: 2001/03/13 20:52:04 $
6+ last updated: $Date: 2001/08/29 19:14:39 $
77
88current maintainer: Billy G. Allie (Bill.Allie@mug.org)
99original author: Andrew Merrill (andrew@compclass.com)
@@ -21,7 +21,7 @@ Topics:
2121*) Readline
2222*) Using the UDK on OpenServer
2323*) Compiling PostgreSQL using the UDK
24- *) Reading the PostgreSQL man pages on UnixWare
24+ *) Reading the PostgreSQL man pages
2525
2626
2727***************************************************************************
@@ -125,52 +125,15 @@ This compiler bug seems to be fixed at least in
125125
126126
127127***************************************************************************
128- *) Reading the PostgreSQL man pages on UnixWare
128+ *) Reading the PostgreSQL man pages
129129
130- By default, the PostgreSQL man pages are installed into /usr/local/pgsql/man.
131- By default, UnixWare does not look there for man pages, so you will not be
132- able to read them.
133-
134- You need to make the following changes to access the PostgreSQL man pages
135- from UnixWare.
136-
137- 1) You need to modify the MANPATH variable in /etc/default/man. I use:
130+ By default, the PostgreSQL man pages are installed into
131+ /usr/local/pgsql/man. By default, UnixWare does not look there for
132+ man pages. To be able to read them you need to modify the MANPATH
133+ variable in /etc/default/man. I use:
138134
139135MANPATH=/usr/lib/scohelp/%L/man:/usr/dt/man:/usr/man:/usr/share/man:scohelp:/usr/local/man:/usr/local/pgsql/man
140136
141- 2) Add a line that says '1sql' to /etc/default/manSection.
142-
143- 3) The man pages for SQL commands are, by default, placed in section 'l'
144- (normally used for "l"ocal pages). UnixWare does not support the 'l'
145- section.
146-
147- The solution I use is to move all these pages from section 'l' to a section
148- named '1sql'. To following KSH script will perform the move and change the
149- section names in the man page:
150-
151- ------------------------------8< CUT HERE >8------------------------------
152- #!/bin/ksh
153- cd /usr/local/pgsql/man
154- mv man1 man.1
155- mkdir man.1sql
156-
157- cd /usr/local/pgsql/man/manl
158- for i in *.l
159- do
160- sed -e '/^\.TH/s/"l"/"1sql"/'\
161- -e 's/\\fR(l)/\\fR(1sql)/' $i >../man.1sql/${i%.l}.1sql
162- done
163- cd /usr/local/pgsql/man
164- rm -rf manl
165- /usr/ucb/catman -M /usr/local/pgsql/man 1
166- /usr/ucb/catman -M /usr/local/pgsql/man 1sql
167- ------------------------------8< CUT HERE >8------------------------------
168-
169- After running this script, you can view the man pages using the 'man'
170- command. They will not be usable from the scohelp system.
171-
172- I am working on integrating the man pages into the scohelp system. When I
173- generate a PostgreSQL package for UnixWare 7.x, the man pages will be
174- integrated into the scohelp system.
175-
176- I have not tried using the PostgreSQL man pages on OpenServer. Volunteers??
137+ On OpenServer, some extra research needs to be invested to make the
138+ man pages usable, because the man system is a bit different from other
139+ platforms. Currently, PostgreSQL will not install them at all.