aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-01-28 21:17:32 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-01-28 21:17:32 +0000
commit28c480e9ae64fc239fa1ebe32a981312e65ae1e7 (patch)
tree524a62b06f9b7ad5f6620392eb35ae34f2d096e7 /src
parent74a1a2b8b16cd94d5046dfbe74f37d70a5347adc (diff)
downloadpostgresql-28c480e9ae64fc239fa1ebe32a981312e65ae1e7.tar.gz
postgresql-28c480e9ae64fc239fa1ebe32a981312e65ae1e7.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/pl/plperl/expected/plperl.out7
-rw-r--r--src/pl/plperl/sql/plperl.sql6
-rw-r--r--src/pl/tcl/expected/pltcl_setup.out5
-rw-r--r--src/pl/tcl/sql/pltcl_setup.sql6
4 files changed, 1 insertions, 23 deletions
diff --git a/src/pl/plperl/expected/plperl.out b/src/pl/plperl/expected/plperl.out
index 7658f36c25d..d7914124104 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 4d4348a1f6a..df17834952f 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 ce45aec530d..496cf228dc0 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 b88ebbcffe3..55ac7e20d55 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