G’day,
How can you select/list all the operator families associated with a database/schema and list all the operations within an operation family in postgreSQL (8.3 if it matters).
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Operator families in a schema:
Getting all the operators within an operator family is more tricky, because an operator families contains some operators directly and some through operator classes that in contains. To get the former, join
pg_opfamilywithpg_amop, to get the latter, joinpg_opfamilywithpg_opclass, and then in both cases againstpg_operator. It’s questionable how useful this information will be, though, because in order to assess the usability of an operator family for query planning and optimization, you also need information about access methods, data types, and a few other things.