</term>
<listitem>
<para>
- Lists procedures associated with operator families
+ Lists functions associated with operator families
(<xref linkend="catalog-pg-amproc"/>).
If <replaceable class="parameter">access-method-pattern</replaceable>
is specified, only members of operator families associated with access
success = listOpFamilyOperators(pattern, pattern2, show_verbose);
break;
case 'p':
- success = listOpFamilyProcedures(pattern, pattern2);
+ success = listOpFamilyFunctions(pattern, pattern2);
break;
default:
status = PSQL_CMD_UNKNOWN;
/*
* \dAp
- * Lists procedures of operator families
+ * Lists support functions of operator families
*
* Takes an optional regexps to filter by index access method and operator
* family.
*/
bool
-listOpFamilyProcedures(const char *access_method_pattern,
- const char *family_pattern)
+listOpFamilyFunctions(const char *access_method_pattern,
+ const char *family_pattern)
{
PQExpBufferData buf;
PGresult *res;
gettext_noop("Left arg type"),
gettext_noop("Right arg type"),
gettext_noop("Number"),
- gettext_noop("Proc name"));
+ gettext_noop("Function"));
appendPQExpBuffer(&buf,
"FROM pg_catalog.pg_amproc ap\n"
return false;
myopt.nullPrint = NULL;
- myopt.title = _("List of procedures of operator families");
+ myopt.title = _("List of support functions of operator families");
myopt.translate_header = true;
myopt.translate_columns = translate_columns;
myopt.n_translate_columns = lengthof(translate_columns);
const char *family_pattern, bool verbose);
/* \dAp */
-extern bool listOpFamilyProcedures(const char *access_method_pattern,
- const char *family_pattern);
+extern bool listOpFamilyFunctions(const char *access_method_pattern,
+ const char *family_pattern);
#endif /* DESCRIBE_H */
fprintf(output, _(" \\dAc[+] [AMPTRN [TYPEPTRN]] list operator classes\n"));
fprintf(output, _(" \\dAf[+] [AMPTRN [TYPEPTRN]] list operator families\n"));
fprintf(output, _(" \\dAo[+] [AMPTRN [OPFPTRN]] list operators of operator families\n"));
- fprintf(output, _(" \\dAp [AMPTRN [OPFPTRN]] list procedures of operator families\n"));
+ fprintf(output, _(" \\dAp [AMPTRN [OPFPTRN]] list support functions of operator families\n"));
fprintf(output, _(" \\db[+] [PATTERN] list tablespaces\n"));
fprintf(output, _(" \\dc[S+] [PATTERN] list conversions\n"));
fprintf(output, _(" \\dC[+] [PATTERN] list casts\n"));
(3 rows)
\dAp btree float_ops
- List of procedures of operator families
- AM | Operator family | Left arg type | Right arg type | Number | Proc name
+ List of support functions of operator families
+ AM | Operator family | Left arg type | Right arg type | Number | Function
-------+-----------------+------------------+------------------+--------+---------------------
btree | float_ops | double precision | double precision | 1 | btfloat8cmp
btree | float_ops | double precision | double precision | 2 | btfloat8sortsupport
(8 rows)
\dAp * pg_catalog.uuid_ops
- List of procedures of operator families
- AM | Operator family | Left arg type | Right arg type | Number | Proc name
+ List of support functions of operator families
+ AM | Operator family | Left arg type | Right arg type | Number | Function
-------+-----------------+---------------+----------------+--------+--------------------
btree | uuid_ops | uuid | uuid | 1 | uuid_cmp
btree | uuid_ops | uuid | uuid | 2 | uuid_sortsupport