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

Commit9e0eff0

Browse files
committed
Update AIX FAQ to show readline options more clearly.
Backpatch FAQ's to 8.1.X.
1 parent7fdb430 commit9e0eff0

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

‎doc/FAQ_AIX

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
From: Zeugswetter Andreas <ZeugswetterA@spardat.at>
2-
$Date:2005/12/08 21:36:50 $
2+
$Date:2006/04/05 22:55:05 $
33

44
On AIX 4.3.2 PostgreSQL compiled with the native IBM compiler xlc
55
(vac.C 5.0.1) passes all regression tests. Other versions of OS and
@@ -129,14 +129,18 @@ for details about the problem.
129129

130130
Working around the problem:
131131
---------------------------
132-
1) Use the new 8.2devel backend Makefile:
132+
Try one of the following:
133+
134+
o Use the new 8.2devel backend Makefile:
135+
133136
After the matter of readline's export list and the problems that were
134137
occurring on AIX because of it being linked to the backend, a filter
135138
to exclude unneeded libraries from being linked against the backend was
136139
added. Get revision 1.112 of src/backend/Makefile from CVS and replace
137140
the copy that came with postgres with it. Build normally.
138141

139-
2) Use libedit:
142+
o Use libedit
143+
140144
There are a few libedit ports available online. Build and install the
141145
desired port. If libreadline.a can be found in /lib, /usr/lib, or in
142146
any location passed to postgres' configure via "--with-libraries=",
@@ -154,14 +158,16 @@ If the version of libedit used calls its "history.h" something other
154158
than history.h, place a symlink called history.h to it somewhere that
155159
the C preprocessor will check.
156160

157-
3) Configure with "--without-readline":
161+
o Configure with "--without-readline"
162+
158163
postgres can be configured with the option "--without-readline". When
159164
this is enabled, postgres will not link against libreadline or libedit.
160165
psql will not have history, tab completion, or any of the other niceties
161166
that readline and libedit bring, but external readline wrappers exist
162167
that add that functionality.
163168

164-
4) Use readline 5.0:
169+
o Use readline 5.0
170+
165171
Readline 5.0 does not induce the problems, however it does export
166172
memcpy and strncpy when built using the easy method of "-bexpall". Like
167173
4.3, it is possible to do a build that does not export these symbols,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp