diff --git a/doc/src/sgml/extend.sgml b/doc/src/sgml/extend.sgml index d7e7aa96bd8..abacd71d743 100644 --- a/doc/src/sgml/extend.sgml +++ b/doc/src/sgml/extend.sgml @@ -1,4 +1,4 @@ - + Extending <acronym>SQL</acronym> @@ -296,14 +296,14 @@ - Use malloc() to allocate any memory that might be + Use palloc() to allocate any memory that might be freed by the backend C code (don't pass new()-allocated memory). - Use free() to free memory allocated by the backend + Use pfree() to free memory allocated by the backend C code (do not use delete() for such cases).