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

Commitd5a43a2

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 parentdada474 commitd5a43a2

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
@@ -199,8 +199,8 @@ extern PGDLLIMPORT Oid MyDatabaseTableSpace;
199199
#defineDATEORDER_DMY1
200200
#defineDATEORDER_MDY2
201201

202-
externintDateStyle;
203-
externintDateOrder;
202+
externPGDLLIMPORTintDateStyle;
203+
externPGDLLIMPORTintDateOrder;
204204

205205
/*
206206
* IntervalStyles
@@ -214,7 +214,7 @@ extern intDateOrder;
214214
#defineINTSTYLE_SQL_STANDARD2
215215
#defineINTSTYLE_ISO_86013
216216

217-
externintIntervalStyle;
217+
externPGDLLIMPORTintIntervalStyle;
218218

219219
/*
220220
* HasCTZSet is true if user has set timezone as a numeric offset from UTC.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp