Hi, I was puzzled to see the following code:
my_extra->element_type = ~element_type; It looks quite wrong, but if its right then I think it needs a comment to explain it. I don't see any in the area which mentions it. My best guess would be that it's using this to know if the type data has been cached, but then why would it not use InvalidOid for that? -- David Rowley http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services