pgsql: Adjust citext to make use of the new ability to declare its type

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Adjust citext to make use of the new ability to declare its type
Date: 2008-07-30 17:08:52
Message-ID: 20080730170852.CC7A3754A86@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Adjust citext to make use of the new ability to declare its type category:
by putting it into the standard string category, we cause casts from citext
to text to be recognized as "preferred" casts. This eliminates the need
for creation of alias functions and operators that only serve to prevent
ambiguous-function errors; get rid of the ones that were in the original
commit.

Modified Files:
--------------
pgsql/contrib/citext:
citext.sql.in (r1.1 -> r1.2)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/citext/citext.sql.in?r1=1.1&r2=1.2)
uninstall_citext.sql (r1.1 -> r1.2)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/citext/uninstall_citext.sql?r1=1.1&r2=1.2)

Browse pgsql-committers by date

  From Date Subject
Next Message User Bloodnok 2008-07-30 17:37:00 veil - veil: Fixes for properly handling nulls in veil interface
Previous Message Tom Lane 2008-07-30 17:05:05 pgsql: Replace the hard-wired type knowledge in TypeCategory() and