X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id A4940D1C4DF for ; Mon, 11 Aug 2003 23:12:54 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 54659-07 for ; Mon, 11 Aug 2003 20:11:25 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id B5E43D1C47A for ; Mon, 11 Aug 2003 20:12:42 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h7BNCiSa026850; Mon, 11 Aug 2003 19:12:44 -0400 (EDT) To: "Jie Liang" Cc: "Bruce Momjian" , pgsql-admin@postgresql.org, pgsql-sql@postgresql.org Subject: Re: string function -- replace needs a clear doc In-reply-to: References: Comments: In-reply-to "Jie Liang" message dated "Mon, 11 Aug 2003 15:51:01 -0700" Date: Mon, 11 Aug 2003 19:12:44 -0400 Message-ID: <26849.1060643564@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/145 X-Sequence-Number: 9867 "Jie Liang" writes: > 1. No doc said % should escape by %%, and > select replace('whatever%20sites','%20','%%20') won't work also. > 2. v7.3.2 haven't resolved this problem yet, I am not sure the later version. In 7.3.3 release notes: * Fix misbehavior of replace() on strings containing '%' regards, tom lane