@@ -248,7 +248,7 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE [ IF NOT EXI
</listitem>
</varlistentry>
<varlistentry>
<varlistentry id="SQL-CREATETABLE-PARTITION">
<term><literal>PARTITION OF <replaceable class="PARAMETER">parent_table</replaceable> FOR VALUES <replaceable class="PARAMETER">partition_bound_spec</replaceable></literal></term>
Previously all security policies were permissive, meaning that any
matching policy allowed access. Optional restrictive policies must
match for access to be granted. These policy types can be combined.
</para>
</listitem>
<listitem>
<!--
Author: Teodor Sigaev <teodor@sigaev.ru>
2017-03-28 [ab89e465c] Altering default privileges on schemas
-->
<para>
Allow <link linkend="SQL-ALTERDEFAULTPRIVILEGES">default permissions</> on schemas (Matheus Oliveira)
</para>
<para>
This is done using the <literal>ALTER DEFAULT PRIVILEGES</> command.
</para>
</listitem>
<listitem>
<!--
Author: Peter Eisentraut <peter_e@gmx.net>
2017-02-10 [2ea5b06c7] Add CREATE SEQUENCE AS <data type> clause
-->
<para>
Add <link linkend="SQL-CREATESEQUENCE"><command>CREATE SEQUENCE AS</></> command to create a sequence matching
an integer data type (Peter Eisentraut)
</para>
<para>
This simplifies the creation of sequences matching the range of base
columns.
</para>
</listitem>
<listitem>
<!--
Author: Tom Lane <tgl@sss.pgh.pa.us>
2016-11-10 [279c439c7] Support "COPY view FROM" for views with INSTEAD OF INSER
-->
<para>
Allow <command>COPY view FROM</> on views with <literal>INSTEAD INSERT</> triggers (Haribabu
Kommi)
</para>
<para>
The triggers are fed the rows from <command>COPY</>.
</para>
</listitem>
<listitem>
<!--
Author: Peter Eisentraut <peter_e@gmx.net>
2017-03-14 [aefeb6874] Allow referring to functions without arguments when uniq
-->
<para>
Allow the specification of a function name without arguments in <acronym>DDL</>
commands, when unique (Peter Eisentraut)
</para>
<para>
For example, allow <link linkend="SQL-DROPFUNCTION"><command>DROP FUNCTION</></> on a function name without arguments if
there is only one function with that name. This is required by the <acronym>SQL</>
standard.
</para>
</listitem>
<listitem>
<!--<listitem>
Author: Peter Eisentraut <peter_e@gmx.net>
2017-03-06 [583f6c414] Allow dropping multiple functions at once
Author: Peter Eisentraut <peter_e@gmx.net>
2017-03-14 [aefeb6874] Allow referring to functions without arguments when uniq-->
<para>
Allow multiple functions, operators, and aggregates to be dropped with a
single <command>DROP</> command (Peter Eisentraut)
</para>
</listitem>
<listitem>
<!--
Author: Andrew Dunstan <andrew@dunslane.net>
2017-03-20 [b6fb534f1] Add IF NOT EXISTS for CREATE SERVER and CREATE USER MAPP
-->
<para>
Add <literal>IF NOT EXISTS</> for <link linkend="SQL-CREATESERVER"><command>CREATE SERVER</></> and
<link linkend="SQL-CREATEUSERMAPPING"><command>CREATE USER MAPPING</></> (Anastasia
Lubennikova)
</para>
</listitem>
<listitem>
<!--
Author: Peter Eisentraut <peter_e@gmx.net>
2017-02-15 [6d16ecc64] Add CREATE COLLATION IF NOT EXISTS clause
-->
<para>
Add <literal>IF NOT EXISTS</> clause to <link linkend="SQL-CREATECOLLATION"><command>CREATE COLLATION</></> (Peter Eisentraut)
</para>
</listitem>
<listitem>
<!--
Author: Fujii Masao <fujii@postgresql.org>
2017-03-25 [70adf2fbe] Make VACUUM VERBOSE report the number of skipped frozen
-->
<para>
Have <link linkend="SQL-VACUUM"><command>VACUUM VERBOSE</></> report the number of skipped frozen pages (Masahiko
Sawada)
</para>
<para>
This information is also included in <xref linkend="guc-log-autovacuum-min-duration"> output.
</para>
</listitem>
<listitem>
<!--
Author: Tom Lane <tgl@sss.pgh.pa.us>
2017-01-16 [d43a619c6] Fix check_srf_call_placement() to handle VALUES cases co
-->
<para>
Fix <function>check_srf_call_placement()</> to handle <command>VALUES</> cases correctly (Tom
Lane)
</para>
<para>
NEED TEXT.
</para>
</listitem>
</itemizedlist>
</sect3>
<sect3>
<title>Data Types</title>
<itemizedlist>
<listitem>
<!--
Author: Stephen Frost <sfrost@snowman.net>
2017-03-15 [c7a9fa399] Add support for EUI-64 MAC addresses as macaddr8
-->
<para>
Add support for <acronym>EUI-64</> <acronym>MAC</> addresses as <link linkend="datatype-macaddr8"><type>MACADDR8</></> (Haribabu Kommi)
</para>
<para>
This complements support for <acronym>EUI-48</> <acronym>MAC</> addresses as <type>macaddr</>.
</para>
</listitem>
<listitem>
<!--
Author: Peter Eisentraut <peter_e@gmx.net>
2017-04-06 [321732705] Identity columns
-->
<para>
Add <link linkend="SQL-CREATETABLE">identity columns</> for assigning a numeric value to columns on insert
(Peter Eisentraut)
</para>
<para>
These are similar to <type>SERIAL</> columns, but are <acronym>SQL</> standard compliant.
</para>
</listitem>
<listitem>
<!--
Author: Tom Lane <tgl@sss.pgh.pa.us>
2016-09-07 [0ab9c56d0] Support renaming an existing value of an enum type.
-->
<para>
Allow <link linkend="datatype-enum"><type>ENUM</></> values to be renamed (Dagfinn Ilmari Mannsåker)
</para>
<para>
This uses the syntax <link linkend="SQL-ALTERTABLE"><command>ALTER TYPE ... RENAME VALUE</></>.
</para>
</listitem>
<listitem>
<!--
Author: Andrew Dunstan <andrew@dunslane.net>
2017-02-22 [502a3832c] Correctly handle array pseudotypes in to_json and to_jso
-->
<para>
Properly treat array pseudotypes (<type>anyarray</>) as arrays in <link linkend="functions-json-creation-table"><function>to_json()</></> and <function>to_jsonb()</> (Andrew
Dunstan)
</para>
<para>
Previously "anyarray" values were converted to <type>JSON</> strings.
</para>
</listitem>
<listitem>
<!--
Author: Peter Eisentraut <peter_e@gmx.net>
2017-01-17 [323b96aa3] Register missing money operators in system catalogs
-->
<para>
Add <link linkend="datatype-money"><type>MONEY</></> operators for multiplication and division with <type>INT8</> values
(Peter Eisentraut)
</para>
</listitem>
<listitem>
<!--
Author: Peter Eisentraut <peter_e@gmx.net>
2016-09-14 [656df624c] Add overflow checks to money type input function
-->
<para>
More strictly check the <type>MONEY</> type for overflow operations (Peter
Eisentraut)
</para>
</listitem>
</itemizedlist>
</sect3>
<sect3>
<title>Functions</title>
<itemizedlist>
<listitem>
<!--
Author: Tom Lane <tgl@sss.pgh.pa.us>
2016-08-17 [cf9b0fea5] Implement regexp_match(), a simplified alternative to re
-->
<para>
Add simplified <link linkend="functions-posix-regexp"><function>regexp_match()</></> function (Emre Hasegeli)
</para>
<para>
Similar to <function>regexp_matches()</>, but only returns results from the first
match so it is easier use for simple cases.
</para>
</listitem>
<listitem>
<!--
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
2017-03-08 [fcec6caaf] Support XMLTABLE query expression
-->
<para>
Add support for converting <type>XML</>-formatted data into a row set (Pavel
Stehule, Álvaro Herrera)
</para>
<para>
This is done by referencing the new <link linkend="functions-xml-processing-xmltable"><function>XMLTABLE</></> function.
</para>
</listitem>
<listitem>
<!--
Author: Magnus Hagander <magnus@hagander.net>
2017-01-18 [d00ca333c] Implement array version of jsonb_delete and operator
-->
<para>
Add version of jsonb's <link linkend="functions-jsonb-op-table">delete operator</> that takes an array of keys to delete
(Magnus Hagander)
</para>
<para>
The <type>JSONB</> delete operator also now supports arrays.
</para>
</listitem>
<listitem>
<!--
Author: Andrew Dunstan <andrew@dunslane.net>
2017-04-06 [cf35346e8] Make json_populate_record and friends operate recursivel
-->
<para>
Improve <link linkend="functions-json-processing-table"><function>json_populate_record</></> and friends operate recursively (Nikita