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

Commitc20d892

Browse files
authored
Merge pull request#68 from postgrespro/PGPRO-13320
Take into account the new structure of files implementing the EXPLAIN command
2 parents389a262 +5083b22 commitc20d892

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

‎Makefile‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ PGFILEDESC = "pg_query_state - facility to track progress of plan execution"
1313
EXTRA_CLEAN = ./isolation_output$(EXTENSION)--$(EXTVERSION).sql\
1414
Dockerfile ./tests/*.pyc ./tmp_stress
1515

16-
ISOLATION = corner_cases
1716
ISOLATION_OPTS = --load-extension=pg_query_state
1817

1918
TAP_TESTS = 1

‎pg_query_state.h‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@
1212

1313
#include<postgres.h>
1414

15+
#ifPG_VERSION_NUM >=180000
16+
#include"commands/explain_state.h"
17+
#else
1518
#include"commands/explain.h"
19+
#endif
1620
#include"nodes/pg_list.h"
1721
#include"storage/procarray.h"
1822
#include"storage/shm_mq.h"

‎signal_handler.c‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
#include"pg_query_state.h"
1212

1313
#include"commands/explain.h"
14+
#ifPG_VERSION_NUM >=180000
15+
#include"commands/explain_format.h"
16+
#endif
1417
#include"miscadmin.h"
1518
#ifPG_VERSION_NUM >=100000
1619
#include"pgstat.h"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp