On Wed, Jan 15, 2014 at 10:02 PM, Robert Haas <robertmh...@gmail.com> wrote:
> On Wed, Jan 15, 2014 at 7:54 AM, Michael Paquier
> <michael.paqu...@gmail.com> wrote:
>> Oops, good catch. If someone could show up and commit the attached to
>> master and REL9_3_STABLE...
>
> Hmm, I don't see an attachment.
Re-oops. Sorry I forgot it.
-- 
Michael
diff --git a/src/backend/access/heap/tuptoaster.c b/src/backend/access/heap/tuptoaster.c
index 633717a..97c9f23 100644
--- a/src/backend/access/heap/tuptoaster.c
+++ b/src/backend/access/heap/tuptoaster.c
@@ -2156,7 +2156,7 @@ toast_open_indexes(Relation toastrel,
 	/* Fetch the first valid index in list */
 	for (i = 0; i < *num_indexes; i++)
 	{
-		Relation toastidx = *toastidxs[i];
+		Relation toastidx = (*toastidxs)[i];
 		if (toastidx->rd_index->indisvalid)
 		{
 			res = i;
-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

Reply via email to