projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06625ab
)
Mention palloc/pfree for C++ memory allocation in docs.
author
Bruce Momjian
Tue, 1 Jun 2010 02:54:37 +0000
(
02:54
+0000)
committer
Bruce Momjian
Tue, 1 Jun 2010 02:54:37 +0000
(
02:54
+0000)
doc/src/sgml/extend.sgml
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/extend.sgml
b/doc/src/sgml/extend.sgml
index d7e7aa96bd8742f20b7ab7fab77ed1f2ba362179..abacd71d743e7abc40da3a773793e5f271c17f43 100644
(file)
--- a/
doc/src/sgml/extend.sgml
+++ b/
doc/src/sgml/extend.sgml
@@
-1,4
+1,4
@@
-
+
Extending
SQL
@@
-296,14
+296,14
@@
- Use
m
alloc()> to allocate any memory that might be
+ Use
p
alloc()> 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
p
free()> to free memory allocated by the backend
C code (do not use
delete()> for such cases).