Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7a46068

Browse files
committed
Update version 11 release notes.
Remove description of commit1944cdc, which has now been back-patchedso it's not relevant to v11 any longer. Add descriptions of otherrecent commits that seemed worth mentioning.I marked the update as stopping at 2018-07-30, because it's unclearwhetherd06eebc will be allowed to stay in v11, and I didn't feel likeputting effort into writing a description of it yet. If it does stay,I think it will deserve mention in the Source Code section.
1 parentb8a1247 commit7a46068

File tree

1 file changed

+88
-25
lines changed

1 file changed

+88
-25
lines changed

‎doc/src/sgml/release-11.sgml

Lines changed: 88 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<formalpara>
88
<title>Release date:</title>
9-
<para>2018-??-?? (CURRENT AS OF 2018-05-01)</para>
9+
<para>2018-??-?? (CURRENT AS OF 2018-07-30)</para>
1010
</formalpara>
1111

1212
<sect2>
@@ -217,6 +217,60 @@
217217

218218
<listitem>
219219
<!--
220+
2018-06-18 [b97a3465d] Consider syntactic form when disambiguating function vs
221+
2018-06-18 [45e98ee73] Remove obsolete prohibition on function name matching a
222+
-->
223+
224+
<para>
225+
Consider syntactic form when disambiguating function versus column
226+
references (Tom Lane)
227+
</para>
228+
229+
<para>
230+
When <replaceable>x</replaceable> is a table name or composite
231+
column, <productname>PostgreSQL</productname> has traditionally
232+
considered the syntactic
233+
forms <literal><replaceable>f</replaceable>(<replaceable>x</replaceable>)</literal>
234+
and <literal><replaceable>x</replaceable>.<replaceable>f</replaceable></literal>
235+
to be equivalent, allowing tricks such as writing a function and
236+
then using it as though it were a computed-on-demand column.
237+
However, if both interpretations are feasible, the column
238+
interpretation was always chosen, leading to surprising results if
239+
the user intended the function interpretation. Now, if there is
240+
ambiguity, the interpretation that matches the syntactic form is
241+
chosen.
242+
</para>
243+
</listitem>
244+
245+
<listitem>
246+
<!--
247+
2018-04-29 [61b200e2f] Avoid wrong results for power() with NaN input on some p
248+
2018-04-29 [6bdf1303b] Avoid wrong results for power() with NaN input on more p
249+
2018-05-17 [d1fc750b5] Make numeric power() handle NaNs according to the modern
250+
-->
251+
252+
<para>
253+
Make <function>power(numeric, numeric)</function>
254+
and <function>power(float8, float8)</function>
255+
handle <literal>NaN</literal> inputs according to the POSIX standard
256+
(Tom Lane, Dang Minh Huong)
257+
</para>
258+
259+
<para>
260+
POSIX says that <literal>NaN ^ 0 = 1</literal> and <literal>1 ^ NaN
261+
= 1</literal>, but all other cases with <literal>NaN</literal>
262+
input(s) should return <literal>NaN</literal>.
263+
<function>power(numeric, numeric)</function> just
264+
returned <literal>NaN</literal> in all such cases; now it honors the
265+
two exceptions. <function>power(float8, float8)</function> followed
266+
the standard if the C library does; but on some old Unix platforms
267+
the library doesn't, and there were also problems on some versions
268+
of Windows.
269+
</para>
270+
</listitem>
271+
272+
<listitem>
273+
<!--
220274
2017-11-17 [e87d4965b] Prevent to_number() from losing data when template doesn
221275
-->
222276

@@ -274,22 +328,19 @@
274328

275329
<listitem>
276330
<!--
277-
2018-03-27 [1944cdc98] libpq: PQhost to return active connected host or hostadd
331+
2018-06-21 [e474c2b7e] Set correct context for XPath evaluation
278332
-->
279333

280334
<para>
281-
Have libpq's <link
282-
linkend="libpq-pqhost"><function>PQhost()</function></link>
283-
always return the actual connected host (Haribabu Kommi)
335+
Correctly handle relative path expressions
336+
in<function>xmltable()</function>, <function>xpath()</function>,
337+
and other XML-handling functions (Markus Winand)
284338
</para>
285339

286340
<para>
287-
Previously <function>PQhost()</function> often returned the
288-
supplied host parameters, which could contain several hosts.
289-
It will now also return the host's IP address if the host name was
290-
not supplied. The same is true of <function>PQport()</function>,
291-
which now returns the actual port number, not the multiple supplied
292-
port numbers.
341+
Per the SQL standard, relative paths start from the document node of
342+
the XML input document, not the root node as these functions
343+
formerly did it.
293344
</para>
294345
</listitem>
295346

@@ -425,19 +476,6 @@
425476
</para>
426477
</listitem>
427478

428-
<listitem>
429-
<!--
430-
Branch: master [6bdf1303b] Avoid wrong results for power() with NaN
431-
-->
432-
433-
<para>
434-
Consistently return <literal>NaN</literal> for
435-
<literal>NaN</literal> inputs to <function>power()</function>
436-
on older platforms (Tom Lane, Dang Minh Huong)
437-
</para>
438-
439-
</listitem>
440-
441479
</itemizedlist>
442480

443481
</sect2>
@@ -1428,6 +1466,7 @@ same commits as above
14281466
<listitem>
14291467
<!--
14301468
2017-09-12 [6e7baa322] Introduce BYTES unit for GUCs.
1469+
2018-05-23 [b06d8e58b] Accept "B" in all memory-unit GUCs, and improve error me
14311470
-->
14321471

14331472
<para>
@@ -2616,6 +2655,24 @@ same commits as above
26162655

26172656
<listitem>
26182657
<!--
2658+
2018-03-22 [9a95a77d9] Use stdbool.h if suitable
2659+
2018-03-23 [7ba7986fb] Fix interaction of Perl and stdbool.h
2660+
2018-05-02 [6fe25c135] Change SIZEOF_BOOL to 1 for Windows.
2661+
-->
2662+
2663+
<para>
2664+
Use <filename>stdbool.h</filename> to define type <type>bool</type>
2665+
on platforms where it's suitable, which is most (Peter Eisentraut)
2666+
</para>
2667+
2668+
<para>
2669+
This eliminates a coding hazard for extension modules that need
2670+
to include <filename>stdbool.h</filename>.
2671+
</para>
2672+
</listitem>
2673+
2674+
<listitem>
2675+
<!--
26192676
2017-11-18 [9288d62bb] Support channel binding 'tls-unique' in SCRAM
26202677
2017-12-19 [4bbf110d2] Add libpq connection parameter "scram_channel_binding"
26212678
2018-01-04 [d3fb72ea6] Implement channel binding tls-server-end-point for SCRAM
@@ -2647,7 +2704,12 @@ same commits as above
26472704
<!--
26482705
2018-03-03 [a351679c8] Trivial adjustments in preparation for bootstrap data co
26492706
2018-04-08 [372728b0d] Replace our traditional initial-catalog-data format with
2707+
2018-04-17 [e90d4ddc6] Simplify genbki.pl's data quoting rules.
2708+
2018-04-17 [9ffcccdb9] Rationalize handling of array type names in bootstrap da
2709+
2018-04-17 [55d26ff63] Rationalize handling of single and double quotes in boot
2710+
2018-04-18 [5372c2c84] Improve error detection/reporting in Catalog.pm and genb
26502711
2018-04-26 [a0854f107] Avoid parsing catalog data twice during BKI file constru
2712+
2018-05-05 [d160882a1] Fix bootstrap parser so that its keywords are unreserved
26512713
-->
26522714

26532715
<para>
@@ -2732,11 +2794,12 @@ same commits as above
27322794
<listitem>
27332795
<!--
27342796
2018-04-25 [46cda5bf7] Change pgindent/README to specify that we use perltidy v
2797+
2018-04-27 [a2ada08d4] perltidy: Don't write backup files
27352798
-->
27362799

27372800
<para>
27382801
Update to use <application>perltidy</application> version
2739-
<literal>20170521</literal> (Tom Lane)
2802+
<literal>20170521</literal> (Tom Lane, Peter Eisentraut)
27402803
</para>
27412804
</listitem>
27422805

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp