Обсуждение: pgsql: Remove SQL-compatibility function cardinality().

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

pgsql: Remove SQL-compatibility function cardinality().

От
tgl@postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
Remove SQL-compatibility function cardinality().  It is not exactly clear
how this ought to behave for multi-dimensional arrays.  Per discussion,
not having it at all seems better than having it with what might prove
to be the wrong behavior.  We can always add it later when we have consensus
on the correct behavior.

Modified Files:
--------------
    pgsql/doc/src/sgml:
        func.sgml (r1.475 -> r1.476)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/func.sgml?r1=1.475&r2=1.476)
        release.sgml (r1.624 -> r1.625)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/release.sgml?r1=1.624&r2=1.625)
    pgsql/src/backend/utils/adt:
        arrayfuncs.c (r1.154 -> r1.155)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/arrayfuncs.c?r1=1.154&r2=1.155)
    pgsql/src/include/catalog:
        catversion.h (r1.529 -> r1.530)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/catalog/catversion.h?r1=1.529&r2=1.530)
        pg_proc.h (r1.541 -> r1.542)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/catalog/pg_proc.h?r1=1.541&r2=1.542)
    pgsql/src/include/utils:
        array.h (r1.75 -> r1.76)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/utils/array.h?r1=1.75&r2=1.76)
    pgsql/src/test/regress/expected:
        arrays.out (r1.46 -> r1.47)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/arrays.out?r1=1.46&r2=1.47)
    pgsql/src/test/regress/sql:
        arrays.sql (r1.35 -> r1.36)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/sql/arrays.sql?r1=1.35&r2=1.36)