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

Commit4ceb771

Browse files
committed
Detect if ptrack_enable = off
1 parentb9be223 commit4ceb771

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

‎backup.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -663,6 +663,14 @@ pg_ptrack_support(void)
663663
return false;
664664
}
665665
PQclear(res_db);
666+
res_db=execute("show ptrack_enable",0,NULL);
667+
if (strcmp(PQgetvalue(res_db,0,0),"on")!=0)
668+
{
669+
PQclear(res_db);
670+
disconnect();
671+
return false;
672+
}
673+
PQclear(res_db);
666674
disconnect();
667675
return true;
668676
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp