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 1moxpS-0004TI-Ci for pgsql-general@arkaria.postgresql.org; Mon, 22 Nov 2021 01:09:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1moxpQ-0004Tc-MS for pgsql-general@arkaria.postgresql.org; Mon, 22 Nov 2021 01:09:04 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1moxpQ-0004TT-4n for pgsql-general@lists.postgresql.org; Mon, 22 Nov 2021 01:09:04 +0000 Received: from mail-ot1-x333.google.com ([2607:f8b0:4864:20::333]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1moxpN-0002tF-QA for pgsql-general@lists.postgresql.org; Mon, 22 Nov 2021 01:09:02 +0000 Received: by mail-ot1-x333.google.com with SMTP id r10-20020a056830080a00b0055c8fd2cebdso26428787ots.6 for ; Sun, 21 Nov 2021 17:09:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=YuPp5qnajSJniZhwgu4JvC/sMdviDVCD5snNJ8DfgLE=; b=Pw4fHGWU/HRYylWtTOge3fUQjpX2mb4ZmOoN8Ky/iJMHdnpD53/qCLCRVy0ER/GNXy oYbYpPKMpuoXsyPJXnqCY6hIv0CUnXXfnvAqMCBuMt5jA4sgBqk+8QE5ynZ74/CBOVwK X5B1NG+rpiIhnIaiFRD/Eoe8YUuOulgrwq6Ynxc9kJ/5fd0rKwaHfXcLJ6oEQlhIeJKD POTGCO4uY2/aHFBl4vMw01gTleOk6ghWx4QjK9lV9XuEnmx0l9Y6msB1hGjcFPbctnZb /ECOPDqh3VPIHvwnizeMH77mbrPXNvLeZf716Sj7J1MxE4P/1ztBNpuWqD2rQTPXzr4u VWnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=YuPp5qnajSJniZhwgu4JvC/sMdviDVCD5snNJ8DfgLE=; b=wJWqB/ocJlZodTbQTOH39Q/wg/ua3KAD/3BxeXHlvrJ3sWgfneddXSoyKeIW20Q9I/ yUQ2V98RC4o8OOXRERYhO4lBg4d+evC97EXYqJvAVy6iSKqM20shCQo1M577dnyd09y/ EeS94+xMXMAHXpCEJa7quwS+pCTCKm7n8rY85W8ajv/u5odwvx0cVCc/TCahSTkAF/L6 TH2TZMusmvEsmgQzxtMzaKWGa8ksC1rQZ5PzN5hKeLwX3q99IakMjRQ12dBvCLagcfrf Cbu0QzXFU7D5Hm0+pzFrbqT6edFU6g/T3WYZIsypioSyqyM3/mzxvGUlAQrIjNEFCm0f ++eg== X-Gm-Message-State: AOAM5326FfB6oIGEvwZ8fhyluwrqrvnJVzKSstdLJKG9YljX75qqRWy2 Z1oftiffX/K+DLufx6cGyEQcHtavcFM= X-Google-Smtp-Source: ABdhPJwkFuz2CyNua+13ytJH2oqxgtHyAA+rzURqaK9/KyO+d6xB3WSi1Spa1YMCXAiqjuA2blQ7DA== X-Received: by 2002:a05:6830:449e:: with SMTP id r30mr21610611otv.120.1637543340918; Sun, 21 Nov 2021 17:09:00 -0800 (PST) Received: from [192.168.88.10] (ip68-11-68-85.no.no.cox.net. [68.11.68.85]) by smtp.googlemail.com with ESMTPSA id p10sm1359100otp.53.2021.11.21.17.08.59 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 21 Nov 2021 17:09:00 -0800 (PST) Subject: Re: insert column monetary type ver 2 To: pgsql-general@lists.postgresql.org References: <3175389.1637427716@sss.pgh.pa.us> <6ab247a8-1524-6e55-c7fd-1d296b1584c3@gmail.com> <3443422.1637512030@sss.pgh.pa.us> From: Ron Message-ID: <74183538-0a51-9580-87a8-8b33274c9159@gmail.com> Date: Sun, 21 Nov 2021 19:08:59 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <3443422.1637512030@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 11/21/21 10:27 AM, Tom Lane wrote: > 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. Best Guess is relative.  Breaking because of "ASCII Space" instead of "narrow no-break space" is definitely Not Right. -- Angular momentum makes the world go 'round.