@@ -537,7 +537,7 @@ typedef struct BrinOpcInfo
537537} BrinOpcInfo;
538538</programlisting>
539539 <structname>BrinOpcInfo</structname>.<structfield>oi_opaque</structfield> can be used by the
540- operator class routines to pass information between support procedures
540+ operator class routines to pass information between support functions
541541 during an index scan.
542542 </para>
543543 </listitem>
@@ -587,27 +587,27 @@ typedef struct BrinOpcInfo
587587 defined by the user for other data types using equivalent definitions,
588588 without having to write any source code; appropriate catalog entries being
589589 declared is enough. Note that assumptions about the semantics of operator
590- strategies are embedded in the support procedures ' source code.
590+ strategies are embedded in the support functions ' source code.
591591 </para>
592592
593593 <para>
594594 Operator classes that implement completely different semantics are also
595- possible, provided implementations of the four main support procedures
595+ possible, provided implementations of the four main support functions
596596 described above are written. Note that backwards compatibility across major
597- releases is not guaranteed: for example, additional support procedures might
597+ releases is not guaranteed: for example, additional support functions might
598598 be required in later releases.
599599 </para>
600600
601601 <para>
602602 To write an operator class for a data type that implements a totally
603- ordered set, it is possible to use the minmax support procedures
603+ ordered set, it is possible to use the minmax support functions
604604 alongside the corresponding operators, as shown in
605605 <xref linkend="brin-extensibility-minmax-table"/>.
606- All operator class members (procedures and operators) are mandatory.
606+ All operator class members (functions and operators) are mandatory.
607607 </para>
608608
609609 <table id="brin-extensibility-minmax-table">
610- <title>Procedure and Support Numbers for Minmax Operator Classes</title>
610+ <title>Function and Support Numbers for Minmax Operator Classes</title>
611611 <tgroup cols="2">
612612 <thead>
613613 <row>
@@ -617,19 +617,19 @@ typedef struct BrinOpcInfo
617617 </thead>
618618 <tbody>
619619 <row>
620- <entry>Support Procedure 1</entry>
620+ <entry>Support Function 1</entry>
621621 <entry>internal function <function>brin_minmax_opcinfo()</function></entry>
622622 </row>
623623 <row>
624- <entry>Support Procedure 2</entry>
624+ <entry>Support Function 2</entry>
625625 <entry>internal function <function>brin_minmax_add_value()</function></entry>
626626 </row>
627627 <row>
628- <entry>Support Procedure 3</entry>
628+ <entry>Support Function 3</entry>
629629 <entry>internal function <function>brin_minmax_consistent()</function></entry>
630630 </row>
631631 <row>
632- <entry>Support Procedure 4</entry>
632+ <entry>Support Function 4</entry>
633633 <entry>internal function <function>brin_minmax_union()</function></entry>
634634 </row>
635635 <row>
@@ -659,7 +659,7 @@ typedef struct BrinOpcInfo
659659 <para>
660660 To write an operator class for a complex data type which has values
661661 included within another type, it's possible to use the inclusion support
662- procedures alongside the corresponding operators, as shown
662+ functions alongside the corresponding operators, as shown
663663 in <xref linkend="brin-extensibility-inclusion-table"/>. It requires
664664 only a single additional function, which can be written in any language.
665665 More functions can be defined for additional functionality. All operators
@@ -668,7 +668,7 @@ typedef struct BrinOpcInfo
668668 </para>
669669
670670 <table id="brin-extensibility-inclusion-table">
671- <title>Procedure and Support Numbers for Inclusion Operator Classes</title>
671+ <title>Function and Support Numbers for Inclusion Operator Classes</title>
672672 <tgroup cols="3">
673673 <thead>
674674 <row>
@@ -679,42 +679,42 @@ typedef struct BrinOpcInfo
679679 </thead>
680680 <tbody>
681681 <row>
682- <entry>Support Procedure 1</entry>
682+ <entry>Support Function 1</entry>
683683 <entry>internal function <function>brin_inclusion_opcinfo()</function></entry>
684684 <entry></entry>
685685 </row>
686686 <row>
687- <entry>Support Procedure 2</entry>
687+ <entry>Support Function 2</entry>
688688 <entry>internal function <function>brin_inclusion_add_value()</function></entry>
689689 <entry></entry>
690690 </row>
691691 <row>
692- <entry>Support Procedure 3</entry>
692+ <entry>Support Function 3</entry>
693693 <entry>internal function <function>brin_inclusion_consistent()</function></entry>
694694 <entry></entry>
695695 </row>
696696 <row>
697- <entry>Support Procedure 4</entry>
697+ <entry>Support Function 4</entry>
698698 <entry>internal function <function>brin_inclusion_union()</function></entry>
699699 <entry></entry>
700700 </row>
701701 <row>
702- <entry>Support Procedure 11</entry>
702+ <entry>Support Function 11</entry>
703703 <entry>function to merge two elements</entry>
704704 <entry></entry>
705705 </row>
706706 <row>
707- <entry>Support Procedure 12</entry>
707+ <entry>Support Function 12</entry>
708708 <entry>optional function to check whether two elements are mergeable</entry>
709709 <entry></entry>
710710 </row>
711711 <row>
712- <entry>Support Procedure 13</entry>
712+ <entry>Support Function 13</entry>
713713 <entry>optional function to check if an element is contained within another</entry>
714714 <entry></entry>
715715 </row>
716716 <row>
717- <entry>Support Procedure 14</entry>
717+ <entry>Support Function 14</entry>
718718 <entry>optional function to check whether an element is empty</entry>
719719 <entry></entry>
720720 </row>
@@ -803,7 +803,7 @@ typedef struct BrinOpcInfo
803803 </table>
804804
805805 <para>
806- Support procedure numbers 1-10 are reserved for the BRIN internal
806+ Support function numbers 1-10 are reserved for the BRIN internal
807807 functions, so the SQL level functions start with number 11. Support
808808 function number 11 is the main function required to build the index.
809809 It should accept two arguments with the same data type as the operator class,
@@ -814,11 +814,11 @@ typedef struct BrinOpcInfo
814814 </para>
815815
816816 <para>
817- Support procedure numbers 12 and 14 are provided to support
818- irregularities of built-in data types. Procedure number 12
817+ Support function numbers 12 and 14 are provided to support
818+ irregularities of built-in data types. Function number 12
819819 is used to support network addresses from different families which
820- are not mergeable. Procedure number 14 is used to support
821- empty ranges. Procedure number 13 is an optional but
820+ are not mergeable. Function number 14 is used to support
821+ empty ranges. Function number 13 is an optional but
822822 recommended one, which allows the new value to be checked before
823823 it is passed to the union function. As the BRIN framework can shortcut
824824 some operations when the union is not changed, using this
0 commit comments