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

Commit bed14af

Browse files
committed
Merge branch 'PGPROEE10' into PGPROEE10_pg_shardman
2 parents 925c4f8 + 0209726 commit bed14af

24 files changed

+2119
-458
lines changed

config/perl.m4

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -48,19 +48,23 @@ AC_DEFUN([PGAC_CHECK_PERL_CONFIGS],
4848

4949
# PGAC_CHECK_PERL_EMBED_CCFLAGS
5050
# -----------------------------
51-
# We selectively extract stuff from $Config{ccflags}. We don't really need
52-
# anything except -D switches, and other sorts of compiler switches can
53-
# actively break things if Perl was compiled with a different compiler.
54-
# Moreover, although Perl likes to put stuff like -D_LARGEFILE_SOURCE and
55-
# -D_FILE_OFFSET_BITS=64 here, it would be fatal to try to compile PL/Perl
56-
# to a different libc ABI than core Postgres uses. The available information
57-
# says that all the symbols that affect Perl's own ABI begin with letters,
58-
# so it should be sufficient to adopt -D switches for symbols not beginning
59-
# with underscore. An exception is that we need to let through
60-
# -D_USE_32BIT_TIME_T if it's present. (We probably could restrict that to
61-
# only get through on Windows, but for the moment we let it through always.)
62-
# For debugging purposes, let's have the configure output report the raw
63-
# ccflags value as well as the set of flags we chose to adopt.
51+
# We selectively extract stuff from $Config{ccflags}. For debugging purposes,
52+
# let's have the configure output report the raw ccflags value as well as the
53+
# set of flags we chose to adopt. We don't really need anything except -D
54+
# switches, and other sorts of compiler switches can actively break things if
55+
# Perl was compiled with a different compiler. Moreover, although Perl likes
56+
# to put stuff like -D_LARGEFILE_SOURCE and -D_FILE_OFFSET_BITS=64 here, it
57+
# would be fatal to try to compile PL/Perl to a different libc ABI than core
58+
# Postgres uses. The available information says that most symbols that affect
59+
# Perl's own ABI begin with letters, so it's almost sufficient to adopt -D
60+
# switches for symbols not beginning with underscore. Some exceptions are the
61+
# Windows-specific -D_USE_32BIT_TIME_T and -D__MINGW_USE_VC2005_COMPAT; see
62+
# Mkvcbuild.pm for details. We absorb the former when Perl reports it. Perl
63+
# never reports the latter, and we don't attempt to deduce when it's needed.
64+
# Consequently, we don't support using MinGW to link to MSVC-built Perl. As
65+
# of 2017, all supported ActivePerl and Strawberry Perl are MinGW-built. If
66+
# that changes or an MSVC-built Perl distribution becomes prominent, we can
67+
# revisit this limitation.
6468
AC_DEFUN([PGAC_CHECK_PERL_EMBED_CCFLAGS],
6569
[AC_REQUIRE([PGAC_PATH_PERL])
6670
AC_MSG_CHECKING([for CFLAGS recommended by Perl])

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,

0 commit comments

Comments
 (0)