Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
418368bc
Commit
418368bc
authored
25 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Update SCO FAQ>
parent
297e7f3e
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/FAQ_SCO
+67
-16
67 additions, 16 deletions
doc/FAQ_SCO
with
67 additions
and
16 deletions
doc/FAQ_SCO
+
67
−
16
View file @
418368bc
=======================================================
=======================================================
Frequently Asked Questions (FAQ) for PostgreSQL V
6.5
Frequently Asked Questions (FAQ) for PostgreSQL V
7.0
SCO UnixWare and OpenServer Specific
SCO UnixWare and OpenServer Specific
TO BE READ IN CONJUNCTION WITH THE NORMAL FAQ
TO BE READ IN CONJUNCTION WITH THE NORMAL FAQ
=======================================================
=======================================================
last updated:
Tue May 25 12:00:00 PDT 1999
last updated:
Mon Apr 24 04:31:44 EDT 2000
current maintainer:
Andrew Merrill (andrew@compclass.com
)
current maintainer:
Billy G. Allie (Bill.Allie@mug.org
)
original author: Andrew Merrill (andrew@compclass.com)
original author: Andrew Merrill (andrew@compclass.com)
PostgreSQL
6.5
can be built on SCO UnixWare 7 and SCO OpenServer 5.
PostgreSQL
7.0
can be built on SCO UnixWare 7 and SCO OpenServer 5.
On OpenServer, you can use either the OpenServer Development Kit or
On OpenServer, you can use either the OpenServer Development Kit or
the Universal Development Kit.
the Universal Development Kit.
...
@@ -21,6 +21,7 @@ Topics:
...
@@ -21,6 +21,7 @@ Topics:
*) C++ and libpq++
*) C++ and libpq++
*) Readline
*) Readline
*) Using the UDK on OpenServer
*) Using the UDK on OpenServer
*) Compiling PostgreSQL using the UDK
*) Shared Memory and SHMMAX
*) Shared Memory and SHMMAX
*) Java and JDBC
*) Java and JDBC
*) Reading the PostgreSQL man pages on UnixWare
*) Reading the PostgreSQL man pages on UnixWare
...
@@ -114,6 +115,38 @@ Putting these together with the no-C++ and readline options from above:
...
@@ -114,6 +115,38 @@ Putting these together with the no-C++ and readline options from above:
./configure --with-template=unixware --with-libs="/udk/usr/lib /usr/local/lib" --with-includes="/udk/usr/include /usr/local/include" --without-CXX
./configure --with-template=unixware --with-libs="/udk/usr/lib /usr/local/lib" --with-includes="/udk/usr/include /usr/local/include" --without-CXX
***************************************************************************
*) Compiling PostgreSQL 7.0 with the UDK
The program, backend/utils/adt/int8.c, tickles a compiler bug with in the
following version of the C compiler:
Optimizing C Compilation System (CCS) 3.2 08/18/98 (u701)
If you encounter an error compiling backend/utils/adt/int8.c, please apply
the following patch:
------------------------------8< CUT HERE >8------------------------------
*** ./src/backend/utils/adt/int8.c.orig Mon Apr 3 13:24:12 2000
--- ./src/backend/utils/adt/int8.c Mon Apr 3 13:28:47 2000
***************
*** 410,416 ****
if (*arg1 < 1)
*result = 0;
else
! for (i = *arg1, *result = 1; i > 0; --i)
*result *= i;
return result;
--- 410,416 ----
if (*arg1 < 1)
*result = 0;
else
! for (i = *arg1, *result = 1; 0 < i; --i)
*result *= i;
return result;
------------------------------8< CUT HERE >8------------------------------
***************************************************************************
***************************************************************************
*) Shared Memory and SHMMAX
*) Shared Memory and SHMMAX
...
@@ -221,26 +254,44 @@ By default, the PostgreSQL man pages are installed into /usr/local/pgsql/man.
...
@@ -221,26 +254,44 @@ By default, the PostgreSQL man pages are installed into /usr/local/pgsql/man.
By default, UnixWare does not look there for man pages, so you will not
By default, UnixWare does not look there for man pages, so you will not
be able to read them.
be able to read them.
You need to make two changes to access the PostgreSQL man pages from UnixWare.
You need to make the following changes to access the PostgreSQL man pages
from UnixWare.
1) You need to modify the MANPATH variable in /etc/default/man. I use:
1) You need to modify the MANPATH environment variable. I use:
MANPATH=/usr/lib/scohelp/%L/man:/usr/dt/man:/usr/man:/usr/share/man:scohelp:/usr/local/man:/usr/local/pgsql/man
MANPATH=/usr/local/pgsql/man:/usr/dt/man:/usr/man:/usr/share/man:scohelp
2) Add a line that says '1sql' to /etc/default/manSection.
export MANPATH
2) The man pages for SQL commands are, by default, placed in section l
3) The man pages for SQL commands are, by default, placed in section 'l'
(normally used for "l"ocal pages). UnixWare does not support the l section.
(normally used for "l"ocal pages). UnixWare does not support the 'l'
section.
The solution I use is to move all these pages from section l to an unused
The solution I use is to move all these pages from section 'l' to a section
section, such as section 6. To accomplish that:
named '1sql'. To following KSH script will perform the move and change the
section names in the man page:
------------------------------8< CUT HERE >8------------------------------
#!/bin/ksh
cd /usr/local/pgsql/man
cd /usr/local/pgsql/man
mv manl man6
mv man1 man.1
cd man6
mkdir ../man.1sql
for file in *.l
cd /usr/local/pgsql/man/manl
for i in *.l
do
do
mv $file `basename $file .l`.6
sed -e '/^\.TH/s/"l"/"1sql"/' $i >../man.1sql/${i%.l}.1sql
done
done
cd /usr/local/pgsql/man
rm -rf manl
------------------------------8< CUT HERE >8------------------------------
After running this script, you can view the man pages using the 'man'
command. They will not be usable from the scohelp system.
I am working on integrating the man pages into the scohelp system. When I
generate a PostgreSQL package for UnixWare 7.x, the man pages will be
integrated into the scohelp system.
I have not tried using the PostgreSQL man pages on OpenServer. Volunteers??
I have not tried using the PostgreSQL man pages on OpenServer. Volunteers??
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment