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

Commitf94aea9

Browse files
committed
Add comment on palloc use and DLLIMPORT>
1 parent704ff0b commitf94aea9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎src/port/dirmod.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*Win32 (NT, Win2k, XP).replace() doesn't work on Win95/98/Me.
1111
*
1212
* IDENTIFICATION
13-
* $PostgreSQL: pgsql/src/port/dirmod.c,v 1.18 2004/08/08 06:44:36 momjian Exp $
13+
* $PostgreSQL: pgsql/src/port/dirmod.c,v 1.19 2004/08/29 01:44:02 momjian Exp $
1414
*
1515
*-------------------------------------------------------------------------
1616
*/
@@ -39,6 +39,10 @@
3939
#undef unlink
4040

4141
#ifndefFRONTEND
42+
/*
43+
*Call non-macro versions of palloc, can't reference CurrentMemoryContext
44+
*because of DLLIMPORT.
45+
*/
4246
#definepalloc(sz)pgport_palloc(sz)
4347
#definepstrdup(str)pgport_pstrdup(str)
4448
#definepfree(pointer)pgport_pfree(pointer)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp