|
50 | 50 | <function>_PG_archive_module_init</function>. The result of the function |
51 | 51 | must be a pointer to a struct of type |
52 | 52 | <structname>ArchiveModuleCallbacks</structname>, which contains everything |
53 | | - that the core code needs to knowhowto make use of the archive module. The |
| 53 | + that the core code needs to know to make use of the archive module. The |
54 | 54 | return value needs to be of server lifetime, which is typically achieved by |
55 | 55 | defining it as a <literal>static const</literal> variable in global scope. |
56 | 56 |
|
@@ -82,7 +82,7 @@ typedef const ArchiveModuleCallbacks *(*ArchiveModuleInit) (void); |
82 | 82 | <para> |
83 | 83 | The <function>startup_cb</function> callback is called shortly after the |
84 | 84 | module is loaded. This callback can be used to perform any additional |
85 | | - initialization required. If the archive module hasa state, it can use |
| 85 | + initialization required. If the archive module hasany state, it can use |
86 | 86 | <structfield>state->private_data</structfield> to store it. |
87 | 87 |
|
88 | 88 | <programlisting> |
@@ -143,7 +143,7 @@ typedef bool (*ArchiveFileCB) (ArchiveModuleState *state, const char *file, cons |
143 | 143 | process exits (e.g., after an error) or the value of |
144 | 144 | <xref linkend="guc-archive-library"/> changes. If no |
145 | 145 | <function>shutdown_cb</function> is defined, no special action is taken in |
146 | | - these situations. If the archive module hasa state, this callback should |
| 146 | + these situations. If the archive module hasany state, this callback should |
147 | 147 | free it to avoid leaks. |
148 | 148 |
|
149 | 149 | <programlisting> |
|