pgsql: Code review for array_fill patch: fix inadequate check for array

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Code review for array_fill patch: fix inadequate check for array
Date: 2008-07-21 04:47:00
Message-ID: 20080721044700.CF22B754A86@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Code review for array_fill patch: fix inadequate check for array size overflow
and bogus documentation (dimension arrays are int[] not anyarray). Also the
errhint() messages seem to be really errdetail(), since there is nothing
heuristic about them. Some other trivial cosmetic improvements.

Modified Files:
--------------
pgsql/doc/src/sgml:
func.sgml (r1.442 -> r1.443)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/func.sgml?r1=1.442&r2=1.443)
pgsql/src/backend/utils/adt:
arrayfuncs.c (r1.146 -> r1.147)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/arrayfuncs.c?r1=1.146&r2=1.147)
pgsql/src/test/regress/expected:
arrays.out (r1.37 -> r1.38)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/arrays.out?r1=1.37&r2=1.38)

Browse pgsql-committers by date

  From Date Subject
Next Message Markus Wanner 2008-07-21 11:33:03 Re: [COMMITTERS] pgsql: Adjust things so that the query_string of a cached plan and the
Previous Message Tom Lane 2008-07-20 18:43:31 pgsql: Add a pg_dump option --lock-wait-timeout to allow failing the