postgres=# select * from gin_metapage_info(get_raw_page('i_foo', 0));ERROR: input page is not a GIN metapage DETAIL: Flags 0189, expected 0008
I just pushed a fix for this, but unfortunately it didn't make it 9.5alpha1.
Thanks. I think that that fixed it. It survived for over an hour this time. Then it hit a different problem (apparent deadlock in the LWLock code, but that is probably a topic for another thread, I'm working on reproducing it.)