Writing a join selectivity function

Started by Angela Madukoalmost 21 years ago2 messagesgeneral
Jump to latest
#1Angela Maduko
ifymaduko@gmail.com

Hi,

I am trying to write a join selectivity function for a user defined
operator. The available documentation does not exactly specify how to
go about this. Can anyone shed more light on this?

Thanks in advance,
Ify.

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Angela Maduko (#1)
Re: Writing a join selectivity function

Angela Maduko <ifymaduko@gmail.com> writes:

I am trying to write a join selectivity function for a user defined
operator. The available documentation does not exactly specify how to
go about this. Can anyone shed more light on this?

There isn't a lot of documentation, no :-(. I would suggest looking
over the existing selectivity functions (in
src/backend/utils/adt/selfuncs.c). If you have specific questions,
pghackers is probably the best place to ask them.

regards, tom lane