The catalog pg_amproc stores information about support procedures associated with access method operator families. There is one row for each support procedure belonging to an operator family.
Table 45-5. pg_amproc Columns
|amprocfamily||oid||pg_opfamily.oid||The operator family this entry is for|
|amproclefttype||oid||pg_type.oid||Left-hand input data type of associated operator|
|amprocrighttype||oid||pg_type.oid||Right-hand input data type of associated operator|
|amprocnum||int2||Support procedure number|
|amproc||regproc||pg_proc.oid||OID of the procedure|
The usual interpretation of the amproclefttype and amprocrighttype fields is that they identify the left and right input types of the operator(s) that a particular support procedure supports. For some access methods these match the input data type(s) of the support procedure itself, for others not. There is a notion of "default" support procedures for an index, which are those with amproclefttype and amprocrighttype both equal to the index opclass's opcintype.
Please use this form to add your own comments regarding your experience with particular features of PostgreSQL, clarifications of the documentation, or hints for other users. Please note, this is not a support forum, and your IP address will be logged. If you have a question or need help, please see the faq, try a mailing list, or join us on IRC. Note that submissions containing URLs or other keywords commonly found in 'spam' comments may be silently discarded. Please contact the webmaster if you think this is happening to you in error.
Proceed to the comment form.