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

Commita5cf606

Browse files
committed
PGDLLIMPORT'ify DateStyle and IntervalStyle.
This is needed on Windows to support contrib/postgres_fdw. Although it'sbeen broken since last March, we didn't notice until recently because therewere no active buildfarm members that complained about missing PGDLLIMPORTmarking. Efforts are underway to improve that situation, in support ofwhich we're delaying fixing some other cases of global variables thatshould be marked PGDLLIMPORT. However, this case affects 9.3, so wecan't wait any longer to fix it.I chose to mark DateOrder as well, though it's not strictly necessaryfor postgres_fdw.
1 parent8fd994e commita5cf606

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/include/miscadmin.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,8 @@ extern PGDLLIMPORT Oid MyDatabaseTableSpace;
202202
#defineDATEORDER_DMY1
203203
#defineDATEORDER_MDY2
204204

205-
externintDateStyle;
206-
externintDateOrder;
205+
externPGDLLIMPORTintDateStyle;
206+
externPGDLLIMPORTintDateOrder;
207207

208208
/*
209209
* IntervalStyles
@@ -217,7 +217,7 @@ extern intDateOrder;
217217
#defineINTSTYLE_SQL_STANDARD2
218218
#defineINTSTYLE_ISO_86013
219219

220-
externintIntervalStyle;
220+
externPGDLLIMPORTintIntervalStyle;
221221

222222
#defineMAXTZLEN10/* max TZ name len, not counting tr. null */
223223

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp