diff options
author | Tom Lane | 2007-01-28 21:17:32 +0000 |
---|---|---|
committer | Tom Lane | 2007-01-28 21:17:32 +0000 |
commit | c54572f5b069c7fb887864ebf433f17d77dd3b5b (patch) | |
tree | 5a189b71053e0f8704aa438859fc06c2d5f0e7ae | |
parent | 61934b00173a85a42b98c70de9c14702b0a3dd38 (diff) |
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.
-rw-r--r-- | src/pl/plperl/expected/plperl.out | 7 | ||||
-rw-r--r-- | src/pl/plperl/sql/plperl.sql | 6 | ||||
-rw-r--r-- | src/pl/tcl/expected/pltcl_setup.out | 5 | ||||
-rw-r--r-- | src/pl/tcl/sql/pltcl_setup.sql | 6 |
4 files changed, 1 insertions, 23 deletions
diff --git a/src/pl/plperl/expected/plperl.out b/src/pl/plperl/expected/plperl.out index 7658f36c25..d791412410 100644 --- a/src/pl/plperl/expected/plperl.out +++ b/src/pl/plperl/expected/plperl.out @@ -1,9 +1,4 @@ -- --- checkpoint so that if we have a crash in the tests, replay of the --- just-completed CREATE DATABASE won't discard the core dump file --- -checkpoint; --- -- Test result value processing -- CREATE OR REPLACE FUNCTION perl_int(int) RETURNS INTEGER AS $$ @@ -428,7 +423,7 @@ CREATE OR REPLACE FUNCTION array_of_text() RETURNS TEXT[][] LANGUAGE plperl as $$ return [['a"b',undef,'c,d'],['e\\f',undef,'g']]; $$; -SELECT array_of_text(); +SELECT array_of_text(); array_of_text --------------------------------------- {{"a\"b",NULL,"c,d"},{"e\\f",NULL,g}} diff --git a/src/pl/plperl/sql/plperl.sql b/src/pl/plperl/sql/plperl.sql index 4d4348a1f6..df17834952 100644 --- a/src/pl/plperl/sql/plperl.sql +++ b/src/pl/plperl/sql/plperl.sql @@ -1,10 +1,4 @@ -- --- checkpoint so that if we have a crash in the tests, replay of the --- just-completed CREATE DATABASE won't discard the core dump file --- -checkpoint; - --- -- Test result value processing -- diff --git a/src/pl/tcl/expected/pltcl_setup.out b/src/pl/tcl/expected/pltcl_setup.out index ce45aec530..496cf228dc 100644 --- a/src/pl/tcl/expected/pltcl_setup.out +++ b/src/pl/tcl/expected/pltcl_setup.out @@ -1,9 +1,4 @@ -- --- checkpoint so that if we have a crash in the tests, replay of the --- just-completed CREATE DATABASE won't discard the core dump file --- -checkpoint; --- -- Create the tables used in the test queries -- -- T_pkey1 is the primary key table for T_dta1. Entries from T_pkey1 diff --git a/src/pl/tcl/sql/pltcl_setup.sql b/src/pl/tcl/sql/pltcl_setup.sql index b88ebbcffe..55ac7e20d5 100644 --- a/src/pl/tcl/sql/pltcl_setup.sql +++ b/src/pl/tcl/sql/pltcl_setup.sql @@ -1,10 +1,4 @@ -- --- checkpoint so that if we have a crash in the tests, replay of the --- just-completed CREATE DATABASE won't discard the core dump file --- -checkpoint; - --- -- Create the tables used in the test queries -- -- T_pkey1 is the primary key table for T_dta1. Entries from T_pkey1 |