Cleaning up jankiness in postgresql ext compiler