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

Commit 369b41d

Browse files
committed
Merge branch 'PGPRO9_6' into PGPROEE9_6
Conflicts: doc/src/sgml/high-availability.sgml doc/src/sgml/installation-bin.sgml doc/src/sgml/pgpathman.sgml doc/src/sgml/postgres.sgml
2 parents dc6f861 + cfd1ee4 commit 369b41d

File tree

4 files changed

+55
-9
lines changed

4 files changed

+55
-9
lines changed

doc/src/sgml/installation-bin.sgml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,6 @@ service postgresql initdb
784784
<row>
785785
<entry>
786786
postgrespro-enterprise96-contrib
787-
788787
</entry>
789788
<entry>
790789
Loadable modules and extensions for server

doc/src/sgml/pgpathman.sgml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ SET pg_pathman.enable = t;</programlisting>
121121
<para><emphasis role="strong">Contents</emphasis></para>
122122
<para><link linkend="pg-pathman-choosing-partitioning-strategies">Choosing Partitioning Strategies</link></para>
123123
<para><link linkend="pg-pathman-running-non-blocking-data-migration">Running Non-Blocking Data Migration</link></para>
124-
<para><link linkend="pg-pathman-partitioning-by-expression">Partitioning by Expression</link></para>
124+
<para><link linkend="pg-pathman-partitioning-by-expression">Partitioning by a Single Expression</link></para>
125125
<para><link linkend="pg-pathman-partitioning-by-comp-key">Partitioning by Composite Key</link></para>
126126
<para>
127127
As your database grows, indexing mechanisms may become inefficient
@@ -231,7 +231,7 @@ replace_hash_partition(old_partition REGCLASS,
231231
when you insert data outside of the already covered range.</para>
232232
<programlisting>
233233
create_range_partitions(relation REGCLASS,
234-
expression TEXT,
234+
expression TEXT,
235235
start_value ANYELEMENT,
236236
p_interval ANYELEMENT | INTERVAL,
237237
p_count INTEGER DEFAULT NULL,
@@ -342,10 +342,11 @@ SELECT stop_concurrent_part_task(relation REGCLASS);
342342
</para></tip>
343343
</sect3>
344344
<sect3 id="pg-pathman-partitioning-by-expression">
345-
<title>Partitioning by Expression</title>
345+
<title>Partitioning by a Single Expression</title>
346346
<para>
347347
For both range and hash partitioning strategies, <filename>pg_pathman</filename>
348-
supports partitioning by expression that returns a single scalar value. The partitioning expression
348+
supports partitioning by expression that returns a single scalar value.
349+
The partitioning expression
349350
can reference a table column, as well as calculate the partitioning key
350351
based on one or more column values.
351352
</para>
@@ -488,14 +489,14 @@ create type test_key as (year float8, month float8);
488489
To enable automatic partition naming, run the <literal>create_naming_sequence()</literal>
489490
function passing the table name as an argument:
490491
<programlisting>
491-
select create_naming_sequence('test');
492+
SELECT create_naming_sequence('test');
492493
</programlisting>
493494
</para>
494495
<para>
495496
Register the <structname>test</structname> table with
496497
<filename>pg_pathman</filename>, specifying the partitioning key you are going to use:
497498
<programlisting>
498-
select add_to_pathman_config('test',
499+
SELECT add_to_pathman_config('test',
499500
'( extract(year from logdate),
500501
extract(month from logdate) )::test_key',
501502
NULL);
@@ -504,7 +505,7 @@ select add_to_pathman_config('test',
504505
<para>Create a partition that includes all the data in the range of ten years,
505506
starting from January of the current year:
506507
<programlisting>
507-
select add_range_partition('test',
508+
SELECT add_range_partition('test',
508509
(extract(year from current_date), 1)::test_key,
509510
(extract(year from current_date + '10 years'::interval), 1)::test_key);
510511
</programlisting>

doc/src/sgml/pgprobackup.sgml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ doc/src/sgml/pgprobackup.sgml
3737
<command>pg_probackup</command>
3838
<arg choice="plain"><option>del-instance</option></arg>
3939
<arg choice="plain"><option>-B</option> <replaceable>backupdir</replaceable></arg>
40-
<arg choice="plain"><option>-D</option> <replaceable>datadir</replaceable></arg>
4140
<arg choice="plain"><option>--instance</option> <replaceable>instance_name</replaceable></arg>
4241
</cmdsynopsis>
4342
<cmdsynopsis>

doc/src/sgml/release-pro-9.6.sgml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,52 @@
11
<!-- doc/src/sgml/release-pro-9.6.sgml -->
22
<!-- See header comment in release.sgml about typical markup -->
3+
<sect1 id="release-pro-9-6-4-1">
4+
<title>Postgres Pro 9.6.4.1</title>
5+
<note>
6+
<title>Release Date</title>
7+
<simpara>2017-08-14</simpara>
8+
</note>
9+
<sect2>
10+
<title>Overview</title>
11+
<para>This release is based on <productname>Postgres Pro</productname>
12+
<link linkend="release-pro-9-6-3-3">9.6.3.3</link> and
13+
<productname>PostgreSQL</productname> <link linkend="release-9-6-4">9.6.4</link>.</para>
14+
<para>Major enhancements over <productname>Postgres Pro</productname>
15+
9.6.3.3 include:</para>
16+
<itemizedlist>
17+
<listitem>
18+
<para>Fixed an incorrect catalog check in <literal>pg_dump</literal>
19+
that has been added with the previous release.</para>
20+
</listitem>
21+
<listitem>
22+
<para>Added distribution for Ubuntu 17.10.</para>
23+
</listitem>
24+
</itemizedlist>
25+
</sect2>
26+
<sect2>
27+
<title>Migration to Version 9.6.4.1</title>
28+
<para>A dump/restore using <xref linkend="app-pg-dumpall">, or
29+
use of <xref linkend="pgupgrade">, is required for those
30+
wishing to migrate data from any previous major release.
31+
</para>
32+
<para>A dump/restore is not required for those running 9.6.3.3.</para>
33+
<para>However, if you are upgrading from vanilla PostgreSQL 9.6.x, some
34+
catalog changes should be applied.
35+
</para>
36+
<para>If you use binary packages, and your database is in the default
37+
location, this upgrade should be performed automatically. If you've
38+
compiled Postgres Pro from source or create your database in a
39+
non-default location, running <literal>initdb</literal> manually, you
40+
should run <literal>pgpro_upgrade</literal> script provided in this
41+
distribution.
42+
</para>
43+
<para>Before running the script, you should stop postgres service.
44+
Script should be run on behalf of the user owning the database
45+
(typically postgres) and PGDATA environment variable should be
46+
set to the directory where database resides.
47+
</para>
48+
</sect2>
49+
</sect1>
350
<sect1 id="release-pro-9-6-3-3">
451
<title>Postgres Pro 9.6.3.3</title>
552
<note>

0 commit comments

Comments
 (0)