Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd149fbf

Browse files
committed
Mention palloc/pfree for C++ memory allocation in docs.
1 parent06625ab commitd149fbf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎doc/src/sgml/extend.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/extend.sgml,v 1.40 2010/06/01 02:35:37 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/extend.sgml,v 1.41 2010/06/01 02:54:37 momjian Exp $ -->
22

33
<chapter id="extend">
44
<title>Extending <acronym>SQL</acronym></title>
@@ -296,14 +296,14 @@
296296
</listitem>
297297
<listitem>
298298
<para>
299-
Use <function>malloc()</> to allocate any memory that might be
299+
Use <function>palloc()</> to allocate any memory that might be
300300
freed by the backend C code (don't pass <function>new()</>-allocated
301301
memory).
302302
</para>
303303
</listitem>
304304
<listitem>
305305
<para>
306-
Use <function>free()</> to free memory allocated by the backend
306+
Use <function>pfree()</> to free memory allocated by the backend
307307
C code (do not use <function>delete()</> for such cases).
308308
</para>
309309
</listitem>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp