Re: Allowing extensions to supply operator-/function-specific info

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: Allowing extensions to supply operator-/function-specific info
Дата
Msg-id
26156.1551734021@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
Allowing extensions to supply operator-/function-specific info Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing extensions to supply operator-/function-specific info Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing extensions to supply operator-/function-specific info Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing extensions to supply operator-/function-specific info Robert Haas <robertmhaas@gmail.com>
Re: Allowing extensions to supply operator-/function-specific info Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing extensions to supply operator-/function-specific info Paul Ramsey <pramsey@cleverelephant.ca>
Re: Allowing extensions to supply operator-/function-specific info Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing extensions to supply operator-/function-specific info Paul Ramsey <pramsey@cleverelephant.ca>
Re: Allowing extensions to supply operator-/function-specific info Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing extensions to supply operator-/function-specific info Paul Ramsey <pramsey@cleverelephant.ca>
Re: Allowing extensions to supply operator-/function-specific info Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing extensions to supply operator-/function-specific info Paul Ramsey <pramsey@cleverelephant.ca>
Re: Allowing extensions to supply operator-/function-specific info Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing extensions to supply operator-/function-specific info Paul Ramsey <pramsey@cleverelephant.ca>
Re: Allowing extensions to supply operator-/function-specific info Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing extensions to supply operator-/function-specific info Paul Ramsey <pramsey@cleverelephant.ca>
Re: Allowing extensions to supply operator-/function-specific info Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing extensions to supply operator-/function-specific info Paul Ramsey <pramsey@cleverelephant.ca>
Re: Allowing extensions to supply operator-/function-specific info Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing extensions to supply operator-/function-specific info Paul Ramsey <pramsey@cleverelephant.ca>
Re: Allowing extensions to supply operator-/function-specific info Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing extensions to supply operator-/function-specific info Paul Ramsey <pramsey@cleverelephant.ca>
Re: Allowing extensions to supply operator-/function-specific info Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing extensions to supply operator-/function-specific info Paul Ramsey <pramsey@cleverelephant.ca>
Re: Allowing extensions to supply operator-/function-specific info Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing extensions to supply operator-/function-specific info Paul Ramsey <pramsey@cleverelephant.ca>
Re: Allowing extensions to supply operator-/function-specific info Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing extensions to supply operator-/function-specific info Paul Ramsey <pramsey@cleverelephant.ca>
Re: Allowing extensions to supply operator-/function-specific info Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing extensions to supply operator-/function-specific info Paul Ramsey <pramsey@cleverelephant.ca>
Re: Allowing extensions to supply operator-/function-specific info Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing extensions to supply operator-/function-specific info Simon Riggs <simon@2ndquadrant.com>
Re: Allowing extensions to supply operator-/function-specific info Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing extensions to supply operator-/function-specific info Simon Riggs <simon@2ndquadrant.com>
Re: Allowing extensions to supply operator-/function-specific info Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing extensions to supply operator-/function-specific info Simon Riggs <simon@2ndquadrant.com>
Re: Allowing extensions to supply operator-/function-specific info Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing extensions to supply operator-/function-specific info Tom Lane <tgl@sss.pgh.pa.us>
Paul Ramsey  writes:
> I had what seemed to be working code except for a couple rare cases,
> but when I fixed those cases it turned out that I had a major problem:
> building a  OP  expression works fine, but building a
>  OP  expression returns me an error.

Yup, you're not supposed to do that.  The output expression *must* have
the index key on the left, it's up to you to commute the operator if
needed to make that happen.

			regards, tom lane

В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
От: Peter Geoghegan
Дата:
FAQ