|
115 | 115 | to the provided client and server programs, as well as add
|
116 | 116 | <acronym>SQL</acronym> man pages to the man page configuration file.
|
117 | 117 | </para>
|
118 |
| - <para> |
119 |
| - If <acronym>SQL</acronym> man pages are already installed |
120 |
| - from a different product, the previous installation will keep |
121 |
| - its priority. For the new <acronym>SQL</acronym> documentation |
122 |
| - to be displayed first, you have to modify the system configuration, |
123 |
| - for example, change the <envar>MANPATH</envar> value. |
124 |
| - </para> |
125 |
| - <important> |
126 |
| - <para> |
127 |
| - If you have been using the same programs provided with |
128 |
| - other products, running <application>pg-wrapper</application> may result in a conflict. |
129 |
| - In this case, you can either continue using the already |
130 |
| - available program version, or adjust the settings manually. |
131 |
| - </para> |
132 | 118 | <para>
|
133 |
| - Alternatively, you can add <filename>/opt/pgpro/std-&majorversion;/bin</filename> |
134 |
| - before <filename>/usr/bin</filename> into your <envar>PATH</envar> to |
135 |
| - make these programs available just for a particular user or user session. |
| 119 | + For parallel installations with other <filename>PostgreSQL</filename>-based |
| 120 | + products, <filename>pg-wrapper</filename> behavior depends |
| 121 | + on whether the <application>update-alternatives</application> utility |
| 122 | + is supported by your system and the already installed |
| 123 | + <filename>PostgreSQL</filename>-based product: |
| 124 | + <itemizedlist> |
| 125 | + <listitem> |
| 126 | + <para> |
| 127 | + If <application>update-alternatives</application> is supported, |
| 128 | + <filename>pg-wrapper</filename> adds symbolic links to <productname>&productname;</productname> |
| 129 | + programs into the alternative system, in accordance with their priority, as well as adds |
| 130 | + <acronym>SQL</acronym> man pages to the man page configuration file. |
| 131 | + For details on how to change the alternatives system priorities, |
| 132 | + see the man page for <application>update-alternatives</application> |
| 133 | + on your system. |
| 134 | + </para> |
| 135 | + <para> |
| 136 | + If <acronym>SQL</acronym> man pages are already installed from a different product, |
| 137 | + the pages unique for the new installation will be displayed, |
| 138 | + while the previous installation will keep its priority for all the coinciding |
| 139 | + man pages. For the new <acronym>SQL</acronym> documentation to be displayed |
| 140 | + for all pages, you have to modify the system configuration, |
| 141 | + for example, change the <envar>MANPATH</envar> value. |
| 142 | + </para> |
| 143 | + </listitem> |
| 144 | + <listitem> |
| 145 | + <para> |
| 146 | + If <application>update-alternatives</application> is not supported, |
| 147 | + <filename>pg-wrapper</filename> updates the system configuration |
| 148 | + only if there are no conflicts with any programs or man pages already installed. |
| 149 | + Otherwise, <application>pg-wrapper</application> does not create or update |
| 150 | + any program links and skips <acronym>SQL</acronym> man page integration. In this case, |
| 151 | + you can either continue using the already available program versions and <acronym>SQL</acronym> man pages, |
| 152 | + or modify the <envar>PATH</envar> and <envar>MANPATH</envar> |
| 153 | + settings manually. |
| 154 | + </para> |
| 155 | + </listitem> |
| 156 | + </itemizedlist> |
136 | 157 | </para>
|
137 |
| - </important> |
138 | 158 |
|
139 | 159 | <para>
|
140 | 160 | For details on binary installation specifics on Linux,
|
|
0 commit comments