pgsql: Reject invalid input in int2vectorin. - Mailing list pgsql-committers

From rhaas@postgresql.org (Robert Haas)
Subject pgsql: Reject invalid input in int2vectorin.
Date
Msg-id 20091230012922.809D5753FB7@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
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)

pgsql-committers by date:

Previous
From: bmomjian@pgfoundry.org (User Bmomjian)
Date:
Subject: pg-migrator - pg_migrator: Further trim down status output.
Next
From: h-saito@pgfoundry.org (User H-saito)
Date:
Subject: pg-migrator - pg_migrator: Sorry, overdue response.