=?UTF-8?Q?Filip_Rembia=C5=82kowski?= <plk.zuber@xxxxxxxxx> writes: > Full test case, reproduced in 8.4.2 on two different hosts > create table test (id serial primary key, t1 text, t2 text); > create function myhash(test) returns text as 'select md5($1::text)' language > sql immutable; > create index myhash on test( myhash(test) ); > alter table test add t3 text; > alter table test drop t3; > insert into test(t1,t2) select 'foo', 'bar'; I've applied a patch for this in HEAD and 8.4. regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general