Обсуждение: pgsql: Reject invalid input in int2vectorin.

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

pgsql: Reject invalid input in int2vectorin.

От
rhaas@postgresql.org (Robert Haas)
Дата:
Log Message:
-----------
Reject invalid input in int2vectorin.

Since the int2vector type is intended only for internal use, this patch doesn't
worry about prettifying the error messages, which has the fringe benefit of
avoiding creating additional translatable strings.  For a type intended to be
used by end-users, we would want to do better, but the approach taken here
seems like the correct trade-off for this case.

Caleb Welton

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        int.c (r1.86 -> r1.87)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/int.c?r1=1.86&r2=1.87)