Skip to content

Commit 4718326

Browse files
committed
Doc: remove obsolete advice about manually inserting snprintf into build.
This para is obsolete, first because nobody is using Solaris 7 anymore, and second because if someone was, configure should catch the snprintf buffer overrun problem automatically (since commit 9bed827), and third because this is incorrect advice about how to manually force use of snprintf.c anyway, and has been so at least since commit 3bc6bdf. The lack of complaints about it reinforces the conclusion that Solaris 7 no longer exists in the wild; so I don't feel a need to insert correct advice instead.
1 parent 6771c93 commit 4718326

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

doc/src/sgml/installation.sgml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2636,30 +2636,6 @@ configure ... LDFLAGS="-R /usr/sfw/lib:/opt/sfw/lib:/usr/local/lib"
26362636
</para>
26372637
</sect3>
26382638

2639-
<sect3>
2640-
<title>64-bit Build Sometimes Crashes</title>
2641-
2642-
<para>
2643-
On Solaris 7 and older, the 64-bit version of libc has a buggy
2644-
<function>vsnprintf</function> routine, which leads to erratic
2645-
core dumps in PostgreSQL. The simplest known workaround is to
2646-
force PostgreSQL to use its own version of <function>vsnprintf</function> rather than
2647-
the library copy. To do this, after you
2648-
run <command>configure</command> edit a file produced by
2649-
<command>configure</command>:
2650-
In <filename>src/Makefile.global</filename>, change the line
2651-
<programlisting>
2652-
LIBOBJS =
2653-
</programlisting>
2654-
to read
2655-
<programlisting>
2656-
LIBOBJS = snprintf.o
2657-
</programlisting>
2658-
(There might be other files already listed in this variable.
2659-
Order does not matter.) Then build as usual.
2660-
</para>
2661-
</sect3>
2662-
26632639
<sect3>
26642640
<title>Compiling for Optimal Performance</title>
26652641

0 commit comments

Comments
 (0)