Обсуждение: pgsql: Deprecate the use of => as an operator name.

Поиск
Список
Период
Сортировка

pgsql: Deprecate the use of => as an operator name.

От
rhaas@postgresql.org (Robert Haas)
Дата:
Log Message:
-----------
Deprecate the use of => as an operator name.

In HEAD, emit a warning when an operator named => is defined.
In both HEAD and the backbranches (except in 8.2, where contrib
modules do not have documentation), document that hstore's text =>
text operator may be removed in a future release, and encourage the
use of the hstore(text, text) function instead.  This function only
exists in HEAD (previously, it was called tconvert), so backpatch
it back to 8.2, when hstore was added.  Per discussion.

Modified Files:
--------------
    pgsql/doc/src/sgml:
        hstore.sgml (r1.10 -> r1.11)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/hstore.sgml?r1=1.10&r2=1.11)
    pgsql/doc/src/sgml/ref:
        create_operator.sgml (r1.52 -> r1.53)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/ref/create_operator.sgml?r1=1.52&r2=1.53)
    pgsql/src/backend/commands:
        operatorcmds.c (r1.45 -> r1.46)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/operatorcmds.c?r1=1.45&r2=1.46)