X-Original-To: pgsql-patches-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id A1A099FA294 for ; Wed, 17 May 2006 23:59:23 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 54218-10 for ; Wed, 17 May 2006 23:59:19 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id D9D379F9CEE for ; Wed, 17 May 2006 23:59:18 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k4I2x1dn007318; Wed, 17 May 2006 22:59:01 -0400 (EDT) To: Bruce Momjian cc: Joachim Wieland , pgsql-patches@postgresql.org Subject: Re: small doc patch for regexp_replace In-reply-to: <200605180054.k4I0sb518077@candle.pha.pa.us> References: <200605180054.k4I0sb518077@candle.pha.pa.us> Comments: In-reply-to Bruce Momjian message dated "Wed, 17 May 2006 20:54:37 -0400" Date: Wed, 17 May 2006 22:59:01 -0400 Message-ID: <7317.1147921141@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/208 X-Sequence-Number: 19754 Bruce Momjian writes: > Seems there is some inconsistency there. There are two types of > function listings, one with just the types, and another with param_name > and then type. We use "string" instead of "text" because varchar() and > char() can also be used. Where did that come from? The actual functions generally take "text", relying on implicit conversions to handle the other types. Since we do not have any type named "string", I think the locution string is a contradiction in terms. IMHO these should all go back to text. regards, tom lane