Rounding strategy of round function

2021-03-26 Thread Rudolph Froger
The 'round' mathematical function doesn't document which rounding 
strategy it uses. If this would be documented then users can rely on its 
rounding behavior. For double precision the rounding probably depends on 
your platform. For numeric is the function seems to round to nearest 
with ties (a 5) going away from zero (sometimes referred to as "round 
half up). 6.5 -> 7.0 and -6.5 -> -7.0.


https://www.postgresql.org/docs/current/functions-math.html

Kind regards, Rudolph



smime.p7s
Description: S/MIME Cryptographic Signature


Re: TLS acronym

2021-03-26 Thread Stephen Frost
Greetings,

* Daniel Gustafsson (dan...@yesql.se) wrote:
> As discussed in the NSS thread, we've had TLS defined as an  since
> commit c6763156589 in 2014 without actually having it defined in 
> acronyms.sgml.
> 
> The attached adds the definition linking to the Wikipedia entry for TLS.

Updated patch attached, mainly just adding author/reviewed-by/discussion
items.

Barring objections, I'll plan to commit and back-patch this all the way
over the weekend sometime.

Thanks!

Stephen
From 07c3564caa5dab0c198d261b7d5e17f1082dc871 Mon Sep 17 00:00:00 2001
From: Stephen Frost 
Date: Fri, 26 Mar 2021 16:37:54 -0400
Subject: [PATCH] doc: Define TLS as an acronym

Commit c6763156589 added an acronym reference for "TLS" but the definition
was never added.

Author: Daniel Gustafsson
Reviewed-by: Michael Paquier
Discussion: https://postgr.es/m/27109504-82db-41a8-8e63-c0498314f...@yesql.se
---
 doc/src/sgml/acronyms.sgml | 10 ++
 1 file changed, 10 insertions(+)

diff --git a/doc/src/sgml/acronyms.sgml b/doc/src/sgml/acronyms.sgml
index 4e5ec983c0..13bd819eb1 100644
--- a/doc/src/sgml/acronyms.sgml
+++ b/doc/src/sgml/acronyms.sgml
@@ -684,6 +684,16 @@
 

 
+   
+TLS
+
+ 
+  https://en.wikipedia.org/wiki/Transport_Layer_Security";>
+  Transport Layer Security
+ 
+
+   
+

 TOAST
 
-- 
2.27.0



signature.asc
Description: PGP signature