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

Commitf51c9a6

Browse files
committed
Change test tables in copy2 regression test to be temporary tables.
This prevents autovacuum from reclaiming free space in them and causingthe test's output row order to change, which is causing intermittentbogus failure reports in the buildfarm.Backpatch to 8.3. The issue exists further back, but since autovacuum wasnot on by default before 8.3, it's not a problem for buildfarm testing.
1 parent5f6a140 commitf51c9a6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎src/test/regress/expected/copy2.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CREATE TABLE x (
1+
CREATETEMPTABLE x (
22
a serial,
33
b int,
44
c text not null default 'stuff',
@@ -172,7 +172,7 @@ I'm nullbefore trigger fired
172172
3after trigger fired
173173
4after trigger fired
174174
5after trigger fired
175-
CREATE TABLE y (
175+
CREATETEMPTABLE y (
176176
col1 text,
177177
col2 text
178178
);

‎src/test/regress/sql/copy2.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CREATETABLEx (
1+
CREATETEMPTABLE x (
22
aserial,
33
bint,
44
ctextnot null default'stuff',
@@ -116,7 +116,7 @@ COPY x TO stdout;
116116
COPY x (c, e) TO stdout;
117117
COPY x (b, e) TO stdout WITHNULL'I''m null';
118118

119-
CREATETABLEy (
119+
CREATETEMPTABLE y (
120120
col1text,
121121
col2text
122122
);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp