Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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)

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group