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 1rp9hH-005LPy-GT for pgsql-docs@arkaria.postgresql.org; Tue, 26 Mar 2024 16:30:47 +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 1rp9hG-000iTs-JX for pgsql-docs@arkaria.postgresql.org; Tue, 26 Mar 2024 16:30:46 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rp9hG-000iTk-CC for pgsql-docs@lists.postgresql.org; Tue, 26 Mar 2024 16:30:46 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rp9hD-006byW-JG for pgsql-docs@lists.postgresql.org; Tue, 26 Mar 2024 16:30:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=momjian.us; s=2024011501; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description; bh=jVRJZE0kN+gLFRXQMQ2D5N/6GBi9ZbqA0NDuAyHJ0F4=; b=bbLrd ed0sf8j2Kn+tfJAt2Jz8Ibl4LAmpM1DBubpWFCBI4LNHvxaogmDleHZjP+4pv7zs3P+UZn5sY+1Ex nTNz7UgzHcqSdLpZ2M6HXTq9JMHwz5KslC+RdIsnydbliQHHWu6AgIVHuM66lkJQHRrv1rTIO7R2e uaxZDK7hr5k8XlK7nP5Jy+6N42SgwxxJBF/69G9XkpPRHu50dXRJ/9Xsd3qkFDyAolDQUsxMZ5cvw MFQbNOAYdMzM0I6JaiQwnbOwasKnHww1jGGaIIS0tHTiYa1Osek5WC0m3rDm7j01s+wZlwmWDdbti GD14RZ8izBDcPw6Dp7jcBmBcIXlbw==; Received: from bruce by momjian.us with local (Exim 4.96) (envelope-from ) id 1rp9hC-002U77-0Q; Tue, 26 Mar 2024 12:30:42 -0400 Date: Tue, 26 Mar 2024 12:30:42 -0400 From: Bruce Momjian To: Tom Lane Cc: dansonlinepresence@gmail.com, pgsql-docs@lists.postgresql.org Subject: Re: substring start position behavior Message-ID: References: <170905442373.643.11536838320909376197@wrigleys.postgresql.org> <72911.1709703729@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, Mar 26, 2024 at 11:07:07AM -0400, Bruce Momjian wrote: > On Wed, Mar 6, 2024 at 12:42:09AM -0500, Tom Lane wrote: > > I'm kind of inclined to not document this weirdness. I especially > > don't think it's worth giving an example that neither explains the > > "disregarded" bit nor highlights the dependency on L being given. > > I retract my doc patch for this. I did add a C comment about the fact we don't document it, and added a URL to this discussion. -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com Only you can decide what is important to you.