pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Joachim Wieland <joe@mcknight.de>
Cc: pgsql-patches@postgresql.org
Subject: Re: small doc patch for regexp_replace
Date: Wed, 17 May 2006 22:59:01 -0400
Message-ID: <7317.1147921141@sss.pgh.pa.us> (raw)
In-Reply-To: <200605180054.k4I0sb518077@candle.pha.pa.us>
References: <200605180054.k4I0sb518077@candle.pha.pa.us>

Bruce Momjian <pgman@candle.pha.pa.us> 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 <type>string</>
is a contradiction in terms.

IMHO these should all go back to <type>text</>.

			regards, tom lane



view thread (8+ messages)  latest in thread

Message-ID: <7317.1147921141@sss.pgh.pa.us>
Permalink:  ../7317.1147921141@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/7317.1147921141@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pgman@candle.pha.pa.us, joe@mcknight.de, pgsql-patches@postgresql.org
  Subject: Re: small doc patch for regexp_replace
  In-Reply-To: <7317.1147921141@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox