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

Commit2dd78a5

Browse files
committed
Make test from previous commit more useful.
1 parent09914f4 commit2dd78a5

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

‎expected/pathman_cache_pranks.out

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
\set VERBOSITY terse
22
-- is pathman (caches, in particular) strong enough to carry out this?
33
SET search_path = 'public';
4+
-- make sure nothing breaks on disable/enable when nothing was initialized yet
5+
SET pg_pathman.enable = false;
6+
NOTICE: RuntimeAppend, RuntimeMergeAppend and PartitionFilter nodes and some other options have been disabled
7+
SET pg_pathman.enable = true;
8+
NOTICE: RuntimeAppend, RuntimeMergeAppend and PartitionFilter nodes and some other options have been enabled
49
-- wobble with create-drop ext: tests cached relids sanity
510
CREATE EXTENSION pg_pathman;
611
SET pg_pathman.enable = f;
@@ -14,11 +19,6 @@ CREATE EXTENSION pg_pathman;
1419
DROP EXTENSION pg_pathman;
1520
-- create it for further tests
1621
CREATE EXTENSION pg_pathman;
17-
-- make sure nothing breaks on disable/enable
18-
SET pg_pathman.enable = false;
19-
NOTICE: RuntimeAppend, RuntimeMergeAppend and PartitionFilter nodes and some other options have been disabled
20-
SET pg_pathman.enable = true;
21-
NOTICE: RuntimeAppend, RuntimeMergeAppend and PartitionFilter nodes and some other options have been enabled
2222
-- 079797e0d5
2323
CREATE TABLE part_test(val serial);
2424
INSERT INTO part_test SELECT generate_series(1, 30);

‎sql/pathman_cache_pranks.sql

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33

44
SET search_path='public';
55

6+
-- make sure nothing breaks on disable/enable when nothing was initialized yet
7+
SETpg_pathman.enable= false;
8+
SETpg_pathman.enable= true;
9+
610
-- wobble with create-drop ext: tests cached relids sanity
711
CREATE EXTENSION pg_pathman;
812
SETpg_pathman.enable= f;
@@ -16,10 +20,6 @@ DROP EXTENSION pg_pathman;
1620
-- create it for further tests
1721
CREATE EXTENSION pg_pathman;
1822

19-
-- make sure nothing breaks on disable/enable
20-
SETpg_pathman.enable= false;
21-
SETpg_pathman.enable= true;
22-
2323
-- 079797e0d5
2424
CREATETABLEpart_test(valserial);
2525
INSERT INTO part_testSELECT generate_series(1,30);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp