aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-08-18 14:02:35 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2018-08-18 14:02:35 -0400
commit47183265ed745d9ee7e0ac0798a5c88660436d4e (patch)
treea5c42e078484e387fac596e0b933475f8f4179d4
parent6771c932cf5a8bbb8219461066987ad3b11688ff (diff)
downloadpostgresql-47183265ed745d9ee7e0ac0798a5c88660436d4e.tar.gz
postgresql-47183265ed745d9ee7e0ac0798a5c88660436d4e.zip
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 9bed827b1), 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 3bc6bdf32. 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.
-rw-r--r--doc/src/sgml/installation.sgml24
1 files changed, 0 insertions, 24 deletions
diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml
index a88cd21f453..10c925d2905 100644
--- a/doc/src/sgml/installation.sgml
+++ b/doc/src/sgml/installation.sgml
@@ -2637,30 +2637,6 @@ configure ... LDFLAGS="-R /usr/sfw/lib:/opt/sfw/lib:/usr/local/lib"
</sect3>
<sect3>
- <title>64-bit Build Sometimes Crashes</title>
-
- <para>
- On Solaris 7 and older, the 64-bit version of libc has a buggy
- <function>vsnprintf</function> routine, which leads to erratic
- core dumps in PostgreSQL. The simplest known workaround is to
- force PostgreSQL to use its own version of <function>vsnprintf</function> rather than
- the library copy. To do this, after you
- run <command>configure</command> edit a file produced by
- <command>configure</command>:
- In <filename>src/Makefile.global</filename>, change the line
-<programlisting>
-LIBOBJS =
-</programlisting>
- to read
-<programlisting>
-LIBOBJS = snprintf.o
-</programlisting>
- (There might be other files already listed in this variable.
- Order does not matter.) Then build as usual.
- </para>
- </sect3>
-
- <sect3>
<title>Compiling for Optimal Performance</title>
<para>