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

Commit1ef7332

Browse files
committed
Add GUC variables for stat tracking and timeout as PGDLLIMPORT
This helps integration of extensions with Windows. The followingparameters are changed:- idle_in_transaction_session_timeout (9.6 and newer versions)- lock_timeout- statement_timeout- track_activities- track_counts- track_functionsAuthor: Pascal LegrandReviewed-by: Amit Kamila, Julien Rouhaud, Michael PaquierDiscussion:https://postgr.es/m/1579298868581-0.post@n3.nabble.comBackpatch-through: 9.4
1 parent6f6daa1 commit1ef7332

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

‎src/include/pgstat.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1140,9 +1140,9 @@ typedef struct PgStat_FunctionCallUsage
11401140
* GUC parameters
11411141
* ----------
11421142
*/
1143-
externboolpgstat_track_activities;
1144-
externboolpgstat_track_counts;
1145-
externintpgstat_track_functions;
1143+
externPGDLLIMPORTboolpgstat_track_activities;
1144+
externPGDLLIMPORTboolpgstat_track_counts;
1145+
externPGDLLIMPORTintpgstat_track_functions;
11461146
externPGDLLIMPORTintpgstat_track_activity_query_size;
11471147
externchar*pgstat_stat_directory;
11481148
externchar*pgstat_stat_tmpname;

‎src/include/storage/proc.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -274,9 +274,9 @@ extern PGPROC *PreparedXactProcs;
274274

275275
/* configurable options */
276276
externPGDLLIMPORTintDeadlockTimeout;
277-
externintStatementTimeout;
278-
externintLockTimeout;
279-
externintIdleInTransactionSessionTimeout;
277+
externPGDLLIMPORTintStatementTimeout;
278+
externPGDLLIMPORTintLockTimeout;
279+
externPGDLLIMPORTintIdleInTransactionSessionTimeout;
280280
externboollog_lock_waits;
281281

282282

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp