mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Remove BSD/OS (BSDi) port. There are no known users upgrading to
Postgres 9.2, and perhaps no existing users either.
This commit is contained in:
@ -55,24 +55,6 @@
|
||||
-->
|
||||
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><systemitem class="osname">BSD/OS</></term>
|
||||
<indexterm><primary>BSD/OS</><secondary>shared library</></>
|
||||
<listitem>
|
||||
<para>
|
||||
The compiler flag to create <acronym>PIC</acronym> is
|
||||
<option>-fpic</option>. The linker flag to create shared
|
||||
libraries is <option>-shared</option>.
|
||||
<programlisting>
|
||||
gcc -fpic -c foo.c
|
||||
ld -shared -o foo.so foo.o
|
||||
</programlisting>
|
||||
This is applicable as of version 4.0 of
|
||||
<systemitem class="osname">BSD/OS</>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><systemitem class="osname">FreeBSD</></term>
|
||||
<indexterm><primary>FreeBSD</><secondary>shared library</></>
|
||||
|
@ -1622,8 +1622,8 @@ PostgreSQL, contrib and HTML documentation successfully made. Ready to install.
|
||||
On some systems with shared libraries
|
||||
you need to tell the system how to find the newly installed
|
||||
shared libraries. The systems on which this is
|
||||
<emphasis>not</emphasis> necessary include <systemitem
|
||||
class="osname">BSD/OS</>, <systemitem class="osname">FreeBSD</>,
|
||||
<emphasis>not</emphasis> necessary include
|
||||
<systemitem class="osname">FreeBSD</>,
|
||||
<systemitem class="osname">HP-UX</>, <systemitem
|
||||
class="osname">IRIX</>, <systemitem class="osname">Linux</>,
|
||||
<systemitem class="osname">NetBSD</>, <systemitem
|
||||
@ -1682,9 +1682,8 @@ libpq.so.2.1: cannot open shared object file: No such file or directory
|
||||
<indexterm>
|
||||
<primary>ldconfig</primary>
|
||||
</indexterm>
|
||||
If you are on <systemitem class="osname">BSD/OS</>
|
||||
or <systemitem class="osname">Linux</>, and you have root access you can
|
||||
run:
|
||||
If you are on <systemitem class="osname">Linux</> and you have root
|
||||
access, you can run:
|
||||
<programlisting>
|
||||
/sbin/ldconfig /usr/local/pgsql/lib
|
||||
</programlisting>
|
||||
|
@ -741,47 +741,6 @@ psql: could not connect to server: No such file or directory
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><systemitem class="osname">BSD/OS</></term>
|
||||
<indexterm><primary>BSD/OS</><secondary>IPC configuration</></>
|
||||
<listitem>
|
||||
<formalpara>
|
||||
<title>Shared Memory</title>
|
||||
<para>
|
||||
By default, only 4 MB of shared memory is supported. Keep in
|
||||
mind that shared memory is not pageable; it is locked in RAM.
|
||||
To increase the amount of shared memory supported by your
|
||||
system, add something like the following to your kernel configuration
|
||||
file:
|
||||
<programlisting>
|
||||
options "SHMALL=8192"
|
||||
options "SHMMAX=\(SHMALL*PAGE_SIZE\)"
|
||||
</programlisting>
|
||||
<varname>SHMALL</> is measured in 4 kB pages, so a value of
|
||||
1024 represents 4 MB of shared memory. Therefore the above increases
|
||||
the maximum shared memory area to 32 MB.
|
||||
For those running 4.3 or later, you will probably also need to increase
|
||||
<varname>KERNEL_VIRTUAL_MB</> above the default <literal>248</>.
|
||||
Once all changes have been made, recompile the kernel, and reboot.
|
||||
</para>
|
||||
</formalpara>
|
||||
|
||||
<formalpara>
|
||||
<title>Semaphores</title>
|
||||
<para>
|
||||
You will probably want to increase the number of semaphores
|
||||
as well; the default system total of 60 will only allow about
|
||||
50 <productname>PostgreSQL</productname> connections. Set the
|
||||
values you want in your kernel configuration file, e.g.:
|
||||
<programlisting>
|
||||
options "SEMMNI=40"
|
||||
options "SEMMNS=240"
|
||||
</programlisting>
|
||||
</para>
|
||||
</formalpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
|
||||
<varlistentry>
|
||||
<term><systemitem class="osname">FreeBSD</></term>
|
||||
|
Reference in New Issue
Block a user