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

Commitdbe405b

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 parent42e538f commitdbe405b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

‎src/include/pgstat.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -808,9 +808,9 @@ typedef struct PgStat_FunctionCallUsage
808808
* GUC parameters
809809
* ----------
810810
*/
811-
externboolpgstat_track_activities;
812-
externboolpgstat_track_counts;
813-
externintpgstat_track_functions;
811+
externPGDLLIMPORTboolpgstat_track_activities;
812+
externPGDLLIMPORTboolpgstat_track_counts;
813+
externPGDLLIMPORTintpgstat_track_functions;
814814
externPGDLLIMPORTintpgstat_track_activity_query_size;
815815
externchar*pgstat_stat_directory;
816816
externchar*pgstat_stat_tmpname;

‎src/include/storage/proc.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,8 @@ extern PGPROC *PreparedXactProcs;
224224

225225
/* configurable options */
226226
externPGDLLIMPORTintDeadlockTimeout;
227-
externintStatementTimeout;
228-
externintLockTimeout;
227+
externPGDLLIMPORTintStatementTimeout;
228+
externPGDLLIMPORTintLockTimeout;
229229
externboollog_lock_waits;
230230

231231

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp