postgresql: Add sed to come over a naming issue with new glibc-2.27

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19732 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Thomas Trepl 2018-02-05 01:21:14 +00:00
parent d10edc46e5
commit ec7f767b14

View File

@ -92,6 +92,7 @@
following commands: </para>
<screen><userinput>sed -i '/DEFAULT_PGSOCKET_DIR/s@/tmp@/run/postgresql@' src/include/pg_config_manual.h &amp;&amp;
sed -i "s/copy_file_range/rewind_&amp;/" src/bin/pg_rewind/copy_fetch.c &amp;&amp;
./configure --prefix=/usr \
--enable-thread-safety \
@ -190,7 +191,8 @@ echo "select * from t1;" | (su - postgres -c '/usr/bin/psql test')</userinput></
from <filename class="directory">/tmp</filename> to
<filename class="directory">/run/postgresql</filename><!-- and fix up the
regression tests to use <filename class="directory">/tmp</filename> so
that they can work reliably-->.
that they can work reliably-->. Second sed renames a function as
glibc-2.27 introduced one with the same name.
</para>
<para><parameter>--docdir=/usr/share/doc/postgresql-&postgresql-version;</parameter>: