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

pgsql: Reject invalid input in int2vectorin.

From: rhaas(at)postgresql(dot)org (Robert Haas)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Reject invalid input in int2vectorin.
Date: 2009-12-30 01:29:22
Message-ID: 20091230012922.809D5753FB7@cvs.postgresql.org (view raw or flat)
Thread:
Lists: 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

Next:From: User H-saitoDate: 2009-12-30 01:30:24
Subject: pg-migrator - pg_migrator: Sorry, overdue response.
Previous:From: User BmomjianDate: 2009-12-30 01:25:19
Subject: pg-migrator - pg_migrator: Further trim down status output.

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