@@ -369,8 +369,8 @@ WARN::function declared to return type EMP does not retrieve (EMP.*)
369
369
has the same name as the C source function the first form of the
370
370
statement is used. The string argument in the AS clause is the
371
371
full pathname of the file that contains the dynamically loadable
372
- compiled object. If the name of C function is different from the
373
- name of the SQL function, then the second form is used. In this
372
+ compiled object. If the name ofthe C function is different from the
373
+ desired name of the SQL function, then the second form is used. In this
374
374
form the AS clause takes two string arguments, the first is the
375
375
full pathname of the dynamically loadable object file, and the
376
376
second is the link symbol that the dynamic loader should search
@@ -392,7 +392,7 @@ WARN::function declared to return type EMP does not retrieve (EMP.*)
392
392
code file for the function, bracketed by quotation marks. If a
393
393
link symbol is used in the AS clause, the link symbol should also be
394
394
bracketed by single quotation marks, and should be exactly the
395
- same as the name of function in the C source code. On UNIX systems
395
+ same as the name ofthe function in the C source code. On UNIX systems
396
396
the command <command>nm</command> will print all of the link
397
397
symbols in a dynamically loadable object.
398
398
(<productname>Postgres</productname> will not compile a function
@@ -991,7 +991,7 @@ memmove(destination->data, buffer, 40);
991
991
</para>
992
992
993
993
<sect3>
994
- <title>Pre-v6.5 </title>
994
+ <title>Pre-v6.6 </title>
995
995
996
996
<para>
997
997
For functions written in C, the SQL name declared in
@@ -1029,7 +1029,9 @@ memmove(destination->data, buffer, 40);
1029
1029
they can be declared with the same SQL names (as long as their
1030
1030
argument types differ, of course). This way avoids the overhead of
1031
1031
an SQL wrapper function, at the cost of more effort to prepare a
1032
- custom backend executable.
1032
+ custom backend executable. (This option is only available in version
1033
+ 6.5 and later, since prior versions required internal functions to
1034
+ have the same name in SQL as in the C code.)
1033
1035
</para>
1034
1036
</sect3>
1035
1037
</sect2>