Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1v9PnA-00061C-Kr for pgsql-docs@arkaria.postgresql.org; Thu, 16 Oct 2025 15:21:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1v9Pn9-00Drso-Gn for pgsql-docs@arkaria.postgresql.org; Thu, 16 Oct 2025 15:21:22 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1v9Pn9-00Drsf-5P for pgsql-docs@lists.postgresql.org; Thu, 16 Oct 2025 15:21:22 +0000 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1v9Pn4-0027KP-2g for pgsql-docs@lists.postgresql.org; Thu, 16 Oct 2025 15:21:21 +0000 Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-2907948c1d2so9519645ad.3 for ; Thu, 16 Oct 2025 08:21:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=j-davis-com.20230601.gappssmtp.com; s=20230601; t=1760628078; x=1761232878; darn=lists.postgresql.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=HsAK9LegaOWzf/Lx80PrUeUS5u3CR5HUox2fCKhNxyQ=; b=FsWWl0FpW9u4ooViTqdCu6kCWO0nA1V1/3Ibos05sTcQaIfOoIcHslRxzSgC/+TmfF kNenqz9swTmf/sYM1LiTK5NAMLy8rPqM/4m8+D2qOX4jJOay1QsgCtvTM6ylGDtFmpma z6F3fUfauRQRju3l68xcWit0iPreo1pPoE6PRRWlr56rl+3i0KJlNMAvlphIcG6cxscy RwYyP8nm9plnlh8tdUMIEU7bnaP0yTRCwJ7u4LUeC0XvpMm3yxJbBaZxGr9c1GgZgGUD QHeQHSNhSqYljdfOq7RADMHm4J+JsLhJVPQymN3Wv2htYBaMAUWZCmsktY/OXH9tfJGp Ynsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760628078; x=1761232878; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=HsAK9LegaOWzf/Lx80PrUeUS5u3CR5HUox2fCKhNxyQ=; b=tFPxe7Wib6AMo5TvocyAIsg8d3QYKokjA03UZpXSzXcefga9tfGacJTU+Em7WD1PZC nDLU/o0WpK5QahpGk4tzL+Pw328/mG4foXpyGnxQBzNSqL4iaibYMWGmMtBgf1WmKC6J bm4qJ6pJpEntoV+ZrRYKV1myNXoUUQlEyj92vsZAY2F3E2w2o+c49bNi6ytiPM450Em4 r1eAKJybtClm1s27ZeoOQJSds8AV1OOxrzSQ0bDu9LjZzdplgFiMjf9D6gDuR1vYwGWJ Pn2ZYiJtA8mYdbfyT4rFztSLSYiKGUPZjRBwJNiYXKJawyh43YApVQCGOhl0gUUC7wVC zrVw== X-Forwarded-Encrypted: i=1; AJvYcCU0iCVDPBz21tvKX0rqpf7o2U5h1Y7tEO3P5bUKinJj/b+Ac00Vl1d8oXwn0ky4Qjxu2EoxRIKDTxMq@lists.postgresql.org X-Gm-Message-State: AOJu0Yzcq01eNb1g18X9vFGCFWUclUpfZAdtkP7wBD0MgER0WWZOgFYC Gl8cCNm4Ny3KUopROLi0IBXZ8NlLpuYA9MNNkvRBz06tnhWwUnSTKNNc9iZu29op6g== X-Gm-Gg: ASbGncviBWZgG2bjRWu8Wd6V8V+KpD7KSJxZnwUtGfc6gfvX9unpsA0SVhVJ6QUO4RA di5uiQDpLSxrLzfZ4KUD9R9JwmRZiP46LDQTx16ippft9YrT9nm4ZtfZF4ylIJG+eNxysCojoXO afMpHR6KuzB5PqxbjRFPqQaD3YM48vZ4zseG9Cf5Z2uBogrbrGNXUwjoAUYO9JcudUsFZRTtwMZ Rgl24IWFAHwKtVfHSNTMDyIs207xiflibV1layrwSEWmNI9k9RIMqnBPr9l5sl4zF5xQYOO4qcH 2V+ff83uOSbBQGTn0TAAuwXinUF/o1rVmCKSOGpwKQsZaRqAswheru35ODf798+oP0JEz+h053f y3CmTCWIv2SY5wZ5ISbeSHFgl3plp/o8poKY5bbQ+GG4SEZ8uNbbl8/lWdpL3kbIURZz3+Z5wVu /XHLXRoHGUK9d0Gl7AO/xq4voQWKinYjDEkzkKlHJIV8UZIs11GCkMlw== X-Google-Smtp-Source: AGHT+IGk2MYeAUk0r+gTgPXCFNWKKPOJcAlArZM949eR/JPlirg+i6cOCwIovrZah0uktGZihZwvDQ== X-Received: by 2002:a17:902:ce8c:b0:267:e3af:ae67 with SMTP id d9443c01a7336-290c9ca6b29mr4757235ad.14.1760628077908; Thu, 16 Oct 2025 08:21:17 -0700 (PDT) Received: from jeff-ws-bridge.lan (c-24-7-19-3.hsd1.ca.comcast.net. [24.7.19.3]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-29099343065sm33904315ad.26.2025.10.16.08.21.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Oct 2025 08:21:17 -0700 (PDT) Message-ID: <6e0741dec0f56692dece5a961533c43f3594d0f0.camel@j-davis.com> Subject: Re: BPCHAR description in 8.3. Character Types is misleading and incomplete From: Jeff Davis To: "David G. Johnston" , Sergei Katkovsky Cc: Tom Lane , "pgsql-docs@lists.postgresql.org" Date: Thu, 16 Oct 2025 08:21:16 -0700 In-Reply-To: References: <176044409338.770.16064383081308443747@wrigleys.postgresql.org> <1307875.1760556576@sss.pgh.pa.us> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.52.3-0ubuntu1 MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, 2025-10-16 at 08:36 -0400, David G. Johnston wrote: > A given value has a finite length and there is just no restriction on > what that length is.=C2=A0 All trailing spaces in the input are considere= d > padding for purposes of comparison i.e., manually padding is added by > the user as opposed to the system. I see -- so it means that the padding came from somewhere else (not the type). > I would leave the note of blank-padded for both and just point out > the automatic vs manual distinction. Yeah, it's a table, so if a user is confused, they can read the text below it. I'm fine with that. If you think the text below should be improved, do you have a wording suggestion? Regards, Jeff Davis