Skip to content
Snippets Groups Projects
  • Teodor Sigaev's avatar
    be939544
    Fix broken compare function for tsquery_ops. Per Tom's report. · be939544
    Teodor Sigaev authored
    I never understood why initial authors GiST in pgsql choose so
    stgrange signature for 'same' method:
    bool *sameFn(Datum a, Datum b, bool* result)
    instead of simple, logical
    bool sameFn(Datum a, Datum b)
    This change will break any existing GiST extension, so we still live with
    it and will live.
    be939544
    History
    Fix broken compare function for tsquery_ops. Per Tom's report.
    Teodor Sigaev authored
    I never understood why initial authors GiST in pgsql choose so
    stgrange signature for 'same' method:
    bool *sameFn(Datum a, Datum b, bool* result)
    instead of simple, logical
    bool sameFn(Datum a, Datum b)
    This change will break any existing GiST extension, so we still live with
    it and will live.