mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Fix inconsistencies and typos in the tree
This is numbered take 8, and addresses again a set of issues with code comments, variable names and unreferenced variables. Author: Alexander Lakhin Discussion: https://postgr.es/m/b137b5eb-9c95-9c2f-586e-38aba7d59788@gmail.com
This commit is contained in:
@ -83,10 +83,7 @@ typedef struct CustomPath
|
||||
by <literal>nodeToString</literal>, so that debugging routines that attempt to
|
||||
print the custom path will work as designed. <structfield>methods</structfield> must
|
||||
point to a (usually statically allocated) object implementing the required
|
||||
custom path methods, of which there is currently only one. The
|
||||
<structfield>LibraryName</structfield> and <structfield>SymbolName</structfield> fields must also
|
||||
be initialized so that the dynamic loader can resolve them to locate the
|
||||
method table.
|
||||
custom path methods, of which there is currently only one.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
|
@ -211,7 +211,7 @@ CREATE [ OR REPLACE ] AGGREGATE <replaceable class="parameter">name</replaceable
|
||||
as described in <xref linkend="xaggr-moving-aggregates"/>. This requires
|
||||
specifying the <literal>MSFUNC</literal>, <literal>MINVFUNC</literal>,
|
||||
and <literal>MSTYPE</literal> parameters, and optionally
|
||||
the <literal>MSPACE</literal>, <literal>MFINALFUNC</literal>,
|
||||
the <literal>MSSPACE</literal>, <literal>MFINALFUNC</literal>,
|
||||
<literal>MFINALFUNC_EXTRA</literal>, <literal>MFINALFUNC_MODIFY</literal>,
|
||||
and <literal>MINITCOND</literal> parameters. Except for <literal>MINVFUNC</literal>,
|
||||
these parameters work like the corresponding simple-aggregate parameters
|
||||
|
@ -137,7 +137,7 @@ CREATE FUNCTION <replaceable>validator_function_name</replaceable>(oid)
|
||||
<para>
|
||||
Finally, the PL must be declared with the command
|
||||
<synopsis>
|
||||
CREATE <optional>TRUSTED</optional> LANGUAGE <replaceable>language-name</replaceable>
|
||||
CREATE <optional>TRUSTED</optional> LANGUAGE <replaceable>language_name</replaceable>
|
||||
HANDLER <replaceable>handler_function_name</replaceable>
|
||||
<optional>INLINE <replaceable>inline_function_name</replaceable></optional>
|
||||
<optional>VALIDATOR <replaceable>validator_function_name</replaceable></optional> ;
|
||||
|
Reference in New Issue
Block a user