Re: whole-row functional index? - Mailing list pgsql-bugs

From Tom Lane
Subject Re: whole-row functional index?
Date
Msg-id 1937.1265149086@sss.pgh.pa.us
Whole thread Raw
In response to whole-row functional index?  (Jasen Betts <jasen@xnet.co.nz>)
List pgsql-bugs
Jasen Betts <jasen@xnet.co.nz> writes:
> jasen=# update member set id=id where id=441;
> UPDATE 1
> jasen=# create index member_search on member using gin (
> (get_search_text_internal(member)) );
> CREATE INDEX
> jasen=# update member set id=id where id=441;
> ERROR:  table row type and query-specified row type do not match
> DETAIL:  Physical storage mismatch on dropped attribute at ordinal
> position 109.

http://archives.postgresql.org/pgsql-bugs/2010-01/msg00089.php

This is fixed for the next 8.4 update, but it's not going to be fixed in
8.3.x.  Suggest recreating the table without any dropped columns.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Warnings building 8.5alpha3 on Solaris 10
Next
From: Joe Conway
Date:
Subject: Re: BUG #5304: psql using conninfo fails in connecting to the server