Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 2a4a458

Browse files
committed
Merge branch 'PGPRO10' of gitlab.postgrespro.ru:pgpro-dev/postgrespro into PGPRO10
2 parents 88f2977 + 5c72ee6 commit 2a4a458

File tree

3 files changed

+50
-26
lines changed

3 files changed

+50
-26
lines changed

doc/src/sgml/demodb-bookings.sgml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -754,9 +754,9 @@ Referenced by:
754754
<para>
755755
Some fields in the demo database are available in English and Russian.
756756
Translations to other languages are not provided, but are easy to add.
757-
The <function>bookings.lang</function> function selects the language
758-
in which to display these fields, returning the value of the
759-
<parameter>bookings.lang</parameter> parameter.
757+
The <function>bookings.lang</function> returns the value of the
758+
<parameter>bookings.lang</parameter> parameter, that is, the language
759+
in which these fields will be displayed.
760760
</para>
761761

762762
<para>
@@ -811,6 +811,9 @@ ALTER DATABASE demo SET bookings.lang = en;
811811
For other methods of settings configuration parameters,
812812
see <xref linkend="config-setting">.
813813
</para>
814+
815+
<para>In the examples below, the English language is selected for translatable fields.
816+
</para>
814817
</sect2>
815818

816819

@@ -822,7 +825,7 @@ ALTER DATABASE demo SET bookings.lang = en;
822825
</para>
823826

824827
<para>
825-
The results displayed below were received on a small database version (demo_small) of August 15, 2017.
828+
The results displayed below were received on a small database version (demo-small) of August 15, 2017.
826829
If the same queries return different data on your system,
827830
check your demo database version (using the <function>bookings.now</function> function).
828831
Some minor deviations may be caused by the difference between your local time and Moscow time,

doc/src/sgml/installation-bin.sgml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,8 @@ pg-setup service start
264264
</entry>
265265
<entry>
266266
<para>Shared libraries required to deploy client
267-
applications; runtime libraries for ECPG processor.</para>
267+
applications, including <application>libpq</application>;
268+
runtime libraries for ECPG processor.</para>
268269
</entry>
269270
</row>
270271
<row>
@@ -496,7 +497,7 @@ pg-setup service disable
496497
<tbody>
497498
<row>
498499
<entry>
499-
<para>RHEL 7
500+
<para>RHEL 7, SLES 12.1
500501
</para>
501502
</entry>
502503
<entry>
@@ -506,7 +507,7 @@ pg-setup service disable
506507
</row>
507508
<row>
508509
<entry>
509-
<para>RHEL 6 and compatible distributions, SLES, ALT Linux 6
510+
<para>RHEL 6 and compatible distributions, SLES 11, ALT Linux 6
510511
</para>
511512
</entry>
512513
<entry>
@@ -539,7 +540,7 @@ systemctl enable postgrespro-std-&majorversion;.service
539540
<itemizedlist>
540541
<listitem>
541542
<para>
542-
On RHEL 6, SLES and ALT Linux systems, use <literal>chkconfig</literal> command to add
543+
On RHEL 6, SLES 11, and ALT Linux systems, use <literal>chkconfig</literal> command to add
543544
the <literal>postgrespro-std-&majorversion;</literal> script to the appropriate runlevel.
544545
See <literal>chkconfig</literal> <application>man</application> page for the exact syntax.
545546
</para>

doc/src/sgml/ref/pg-wrapper.sgml

Lines changed: 38 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -115,26 +115,46 @@
115115
to the provided client and server programs, as well as add
116116
<acronym>SQL</acronym> man pages to the man page configuration file.
117117
</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>
132118
<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>
136157
</para>
137-
</important>
138158

139159
<para>
140160
For details on binary installation specifics on Linux,

0 commit comments

Comments
 (0)