Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 28c480e

Browse files
committed
Remove unnecessary checkpoint from PL regression tests. This was once
handy to prevent core dump files from disappearing, but it's useless now because (a) we don't drop core in individual DB subdirectories anymore, and (b) CREATE DATABASE forces an internal checkpoint anyway.
1 parent 74a1a2b commit 28c480e

File tree

4 files changed

+1
-23
lines changed

4 files changed

+1
-23
lines changed

src/pl/plperl/expected/plperl.out

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
--
2-
-- checkpoint so that if we have a crash in the tests, replay of the
3-
-- just-completed CREATE DATABASE won't discard the core dump file
4-
--
5-
checkpoint;
6-
--
72
-- Test result value processing
83
--
94
CREATE OR REPLACE FUNCTION perl_int(int) RETURNS INTEGER AS $$
@@ -428,7 +423,7 @@ CREATE OR REPLACE FUNCTION array_of_text() RETURNS TEXT[][]
428423
LANGUAGE plperl as $$
429424
return [['a"b',undef,'c,d'],['e\\f',undef,'g']];
430425
$$;
431-
SELECT array_of_text();
426+
SELECT array_of_text();
432427
array_of_text
433428
---------------------------------------
434429
{{"a\"b",NULL,"c,d"},{"e\\f",NULL,g}}

src/pl/plperl/sql/plperl.sql

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
--
2-
-- checkpoint so that if we have a crash in the tests, replay of the
3-
-- just-completed CREATE DATABASE won't discard the core dump file
4-
--
5-
checkpoint;
6-
71
--
82
-- Test result value processing
93
--

src/pl/tcl/expected/pltcl_setup.out

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
--
2-
-- checkpoint so that if we have a crash in the tests, replay of the
3-
-- just-completed CREATE DATABASE won't discard the core dump file
4-
--
5-
checkpoint;
6-
--
72
-- Create the tables used in the test queries
83
--
94
-- T_pkey1 is the primary key table for T_dta1. Entries from T_pkey1

src/pl/tcl/sql/pltcl_setup.sql

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
--
2-
-- checkpoint so that if we have a crash in the tests, replay of the
3-
-- just-completed CREATE DATABASE won't discard the core dump file
4-
--
5-
checkpoint;
6-
71
--
82
-- Create the tables used in the test queries
93
--

0 commit comments

Comments
 (0)