• Tom Lane's avatar
    Create stub functions to support pg_upgrade of old contrib/tsearch2. · eb43e851
    Tom Lane authored
    Commits 9ff60273 and dbe23289 adjusted the declarations
    of some core functions referenced by contrib/tsearch2's install script,
    forgetting that in a pg_upgrade situation, we'll be trying to restore
    operator class definitions that reference the old signatures.  We've
    hit this problem before; solve it in the same way as before, namely by
    installing stub functions that have the expected signature and just
    invoke the correct function.  Per report from Jeff Janes.
    
    (Someday we ought to stop supporting contrib/tsearch2, but I'm not
    sure today is that day.)
    eb43e851
tsgistidx.c 18 KB