Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
253c8fec
Commit
253c8fec
authored
Mar 13, 2001
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
a0d82817
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
64 deletions
+16
-64
doc/FAQ_SCO
doc/FAQ_SCO
+16
-64
No files found.
doc/FAQ_SCO
View file @
253c8fec
=======================================================
Frequently Asked Questions (FAQ) for PostgreSQL V7.
0
SCO UnixWare and OpenServer
S
pecific
TO BE READ IN CONJUNCTION WITH THE NORMAL FAQ
=======================================================
last updated: $Date: 200
0/10/09 03:49:42
$
=======================================================
=====
Frequently Asked Questions (FAQ) for PostgreSQL V7.
1
SCO UnixWare and OpenServer
s
pecific
to be read in conjunction with the installation instructions
=======================================================
=====
last updated: $Date: 200
1/03/13 20:52:04
$
current maintainer: Billy G. Allie (Bill.Allie@mug.org)
original author: Andrew Merrill (andrew@compclass.com)
PostgreSQL 7.
0
can be built on SCO UnixWare 7 and SCO OpenServer 5.
PostgreSQL 7.
1
can be built on SCO UnixWare 7 and SCO OpenServer 5.
On OpenServer, you can use either the OpenServer Development Kit or
the Universal Development Kit.
...
...
@@ -18,7 +18,6 @@ However, some tweaking may be needed, as described below.
Topics:
*) Skunkware
*) GNU Make
*) C++ and libpq++
*) Readline
*) Using the UDK on OpenServer
*) Compiling PostgreSQL using the UDK
...
...
@@ -44,6 +43,7 @@ Skunkware has different versions for UnixWare and OpenServer. Make sure
you install the correct version for your operating system, except as noted
below.
***************************************************************************
*) GNU Make
...
...
@@ -52,24 +52,6 @@ default, it installs as /usr/local/bin/make. To avoid confusion with the
SCO make program, you may want to rename GNU make to gmake.
***************************************************************************
*) C++ and libpq++
I have not been able to build libpq++, the PostgreSQL C++ interface, with
the UnixWare or OpenServer C++ compilers. By default, building PostgreSQL
also builds the libpq++ interface. When that fails, it causes the entire
build of PostgreSQL to fail.
This is the problem if you see the following error message:
"pgenv.cc", line 47: error: no default constructor exists for class "string"
If you have this problem, you can disable building of libpq++ with the
following configure option:
configure --without-CXX
***************************************************************************
*) Readline
...
...
@@ -89,31 +71,22 @@ configure:
configure --with-libs=/usr/local/lib --with-includes=/usr/local/include
Putting this together with the no-C++ option above yields:
configure --with-libs=/usr/local/lib --with-includes=/usr/local/include --without-CXX
***************************************************************************
*) Using the UDK on OpenServer
If you are using the new Universal Development Kit (UDK) compiler on
OpenServer, you need to use different arguments to the configure program.
First, you need to specify the "unixware" template instead of the default.
OpenServer, you need to specify the locations of the UDK libraries:
Second, you need to specify the locations of the UDK libraries.
configure --with-libs=/udk/usr/lib --with-includes=/udk/usr/include
Putting these together:
Putting these together
with the readline options from above
:
configure --with-template=unixware --with-libs=/udk/usr/lib --with-includes=/udk/usr/include
./configure --with-libs="/udk/usr/lib /usr/local/lib" --with-includes="/udk/usr/include /usr/local/include"
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
***************************************************************************
*) Compiling PostgreSQL 7.
0
with the UDK
*) Compiling PostgreSQL 7.
1
with the UDK
The program, backend/utils/adt/int8.c, tickles a compiler bug with in the
following versions (and probably others as well) of the C compiler:
...
...
@@ -146,30 +119,10 @@ the following patch:
PG_RETURN_INT64(result);
------------------------------8< CUT HERE >8------------------------------
Th
e bind function in UnixWare 7.1+ has a problem when used with the AF_UNIX
family. The following patch provides a work-around for the problem (thanks
go to Oliver PRENANT <ohp@pyrenet.fre> for this patch).
Th
is compiler bug seems to be fixed at least in
Optimizing C Compilation System (CCS) 4.0 10/23/00 (UDK FS 7.1.1b)
------------------------------8< CUT HERE >8------------------------------
*** src/backend/libpq/pqcomm.c.orig Sun Oct 8 02:21:25 2000
--- src/backend/libpq/pqcomm.c Sun Oct 8 02:42:57 2000
***************
*** 329,334 ****
--- 329,341 ----
return STATUS_ERROR;
}
+ /* Work around a bug in UnixWare 7.1.x - accept is not returning the
+ * correct family when the family is AF_UNIX.
+ */
+
+ if (port->raddr.sa.sa_family == 0)
+ port->raddr.sa.sa_family = AF_UNIX;
+
/* fill in the server (local) address */
addrlen = sizeof(port->laddr);
if (getsockname(port->sock, (struct sockaddr *) & port->laddr,
------------------------------8< CUT HERE >8------------------------------
***************************************************************************
*) Reading the PostgreSQL man pages on UnixWare
...
...
@@ -221,4 +174,3 @@ 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??
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment