Checkpoint from tiberius
This is a mess. You have to bring back practically the entire postgres source code... I think we're just going to rewrite the parser...