Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mopgS-00013c-4f for pgsql-general@arkaria.postgresql.org; Sun, 21 Nov 2021 16:27:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mopgQ-0007z8-9U for pgsql-general@arkaria.postgresql.org; Sun, 21 Nov 2021 16:27:14 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mopgP-0007yg-V7 for pgsql-general@lists.postgresql.org; Sun, 21 Nov 2021 16:27:13 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mopgO-0007st-D7 for pgsql-general@lists.postgresql.org; Sun, 21 Nov 2021 16:27:13 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 1ALGRAov3443423; Sun, 21 Nov 2021 11:27:10 -0500 From: Tom Lane To: Ron cc: pgsql-general@lists.postgresql.org Subject: Re: insert column monetary type ver 2 In-reply-to: <6ab247a8-1524-6e55-c7fd-1d296b1584c3@gmail.com> References: <3175389.1637427716@sss.pgh.pa.us> <6ab247a8-1524-6e55-c7fd-1d296b1584c3@gmail.com> Comments: In-reply-to Ron message dated "Sat, 20 Nov 2021 22:02:29 -0600" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3443421.1637512030.1@sss.pgh.pa.us> Date: Sun, 21 Nov 2021 11:27:10 -0500 Message-ID: <3443422.1637512030@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Ron writes: > On 11/20/21 11:01 AM, Tom Lane wrote: >> A quick lookup later, that's U+202F or "narrow no-break space". >> cash_in is picky about this, and won't take plain ASCII space as >> a substitute. Not sure if it should. > It probably should, based on the Robustness Principle: "be conservative in > what you send, be liberal in what you accept". The contrary argument is that people tend not to like "best guess" behavior when working with monetary amounts. regards, tom lane