Skip to content

Commit

Permalink
Update patch for 8.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
theory committed Jan 28, 2013
1 parent 16f557d commit be3982f
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions compat/install-8.1.patch
@@ -1,6 +1,6 @@
--- sql/pgtap.sql.saf 2013-01-15 14:04:18.000000000 -0800
+++ sql/pgtap.sql 2013-01-15 14:04:23.000000000 -0800
@@ -2122,13 +2122,13 @@
--- sql/pgtap.sql.saf 2013-01-28 11:47:39.000000000 -0800
+++ sql/pgtap.sql 2013-01-28 11:47:45.000000000 -0800
@@ -2113,13 +2113,13 @@
CREATE OR REPLACE FUNCTION _constraint ( NAME, NAME, CHAR, NAME[], TEXT, TEXT )
RETURNS TEXT AS $$
DECLARE
Expand All @@ -18,7 +18,7 @@
END LOOP;
IF array_upper(keys, 0) = 1 THEN
have := 'No ' || $6 || ' constraints';
@@ -2146,13 +2146,13 @@
@@ -2137,13 +2137,13 @@
CREATE OR REPLACE FUNCTION _constraint ( NAME, CHAR, NAME[], TEXT, TEXT )
RETURNS TEXT AS $$
DECLARE
Expand All @@ -36,7 +36,7 @@
END LOOP;
IF array_upper(keys, 0) = 1 THEN
have := 'No ' || $5 || ' constraints';
@@ -5735,7 +5735,7 @@
@@ -5739,7 +5739,7 @@
CREATE OR REPLACE FUNCTION _runem( text[], boolean )
RETURNS SETOF TEXT AS $$
DECLARE
Expand All @@ -45,7 +45,7 @@
lbound int := array_lower($1, 1);
BEGIN
IF lbound IS NULL THEN RETURN; END IF;
@@ -5743,8 +5743,8 @@
@@ -5747,8 +5747,8 @@
-- Send the name of the function to diag if warranted.
IF $2 THEN RETURN NEXT diag( $1[i] || '()' ); END IF;
-- Execute the tap function and return its results.
Expand All @@ -56,7 +56,7 @@
END LOOP;
END LOOP;
RETURN;
@@ -5814,14 +5814,14 @@
@@ -5818,14 +5818,14 @@
setup ALIAS FOR $3;
teardown ALIAS FOR $4;
tests ALIAS FOR $5;
Expand All @@ -73,7 +73,7 @@
EXCEPTION
-- Catch all exceptions and simply rethrow custom exceptions. This
-- will roll back everything in the above block.
@@ -5836,15 +5836,15 @@
@@ -5840,15 +5840,15 @@
IF verbos THEN RETURN NEXT diag_test_name(tests[i]); END IF;

-- Run the setup functions.
Expand All @@ -93,7 +93,7 @@

-- Remember how many failed and then roll back.
num_faild := num_faild + num_failed();
@@ -5859,7 +5859,7 @@
@@ -5863,7 +5863,7 @@
END LOOP;

-- Run the shutdown functions.
Expand All @@ -102,7 +102,7 @@

-- Raise an exception to rollback any changes.
RAISE EXCEPTION '__TAP_ROLLBACK__';
@@ -5870,8 +5870,8 @@
@@ -5874,8 +5874,8 @@
END IF;
END;
-- Finish up.
Expand All @@ -113,7 +113,7 @@
END LOOP;

-- Clean up and return.
@@ -7125,7 +7125,7 @@
@@ -7133,7 +7133,7 @@
DECLARE
rec RECORD;
BEGIN
Expand Down

0 comments on commit be3982f

Please sign in to comment.