pgsql: Make sure that GIN fast-insert and regular code paths enforce the

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make sure that GIN fast-insert and regular code paths enforce the
Date: 2009-10-02 21:14:11
Message-ID: 20091002211411.5A1EB753FB7@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Make sure that GIN fast-insert and regular code paths enforce the same
tuple size limit. Improve the error message for index-tuple-too-large
so that it includes the actual size, the limit, and the index name.
Sync with the btree occurrences of the same error.

Back-patch to 8.4 because it appears that the out-of-sync problem
is occurring in the field.

Teodor and Tom

Tags:
----
REL8_4_STABLE

Modified Files:
--------------
pgsql/src/backend/access/gin:
ginentrypage.c (r1.21 -> r1.21.2.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/gin/ginentrypage.c?r1=1.21&r2=1.21.2.1)
ginfast.c (r1.3.2.1 -> r1.3.2.2)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/gin/ginfast.c?r1=1.3.2.1&r2=1.3.2.2)
gininsert.c (r1.22 -> r1.22.2.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/gin/gininsert.c?r1=1.22&r2=1.22.2.1)
ginvacuum.c (r1.30 -> r1.30.2.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/gin/ginvacuum.c?r1=1.30&r2=1.30.2.1)
pgsql/src/backend/access/nbtree:
nbtinsert.c (r1.170 -> r1.170.2.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/nbtree/nbtinsert.c?r1=1.170&r2=1.170.2.1)
nbtsort.c (r1.119 -> r1.119.2.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/nbtree/nbtsort.c?r1=1.119&r2=1.119.2.1)
pgsql/src/include/access:
gin.h (r1.34 -> r1.34.2.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/access/gin.h?r1=1.34&r2=1.34.2.1)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2009-10-02 22:49:50 pgsql: Fix an oversight in an 8.3-era patch: pgstat_initstats should
Previous Message Tom Lane 2009-10-02 21:14:04 pgsql: Make sure that GIN fast-insert and regular code paths enforce the