Skip to content

Commit

Permalink
Fixed tests results
Browse files Browse the repository at this point in the history
  • Loading branch information
dvarrazzo committed May 4, 2017
1 parent c990ea1 commit f29506e
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion expected/bytea.out

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion expected/delete1.out
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ DELETE FROM table_without_pk WHERE b = 1;
DELETE FROM table_with_pk WHERE b = 1;
-- DELETE: unique
DELETE FROM table_with_unique WHERE b = 1;
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0');
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0', 'pretty-print', '1');
WARNING: table "table_without_pk" without primary key or replica identity is nothing
WARNING: table "table_with_unique" without primary key or replica identity is nothing
data
Expand Down
2 changes: 1 addition & 1 deletion expected/delete2.out
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ ALTER TABLE table_without_pk REPLICA IDENTITY DEFAULT;
ALTER TABLE table_with_unique REPLICA IDENTITY NOTHING;
DELETE FROM table_with_unique WHERE b = 1;
ALTER TABLE table_with_unique REPLICA IDENTITY DEFAULT;
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0');
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0', 'pretty-print', '1');
WARNING: table "table_with_pk" without primary key or replica identity is nothing
WARNING: table "table_without_pk" without primary key or replica identity is nothing
WARNING: table "table_with_unique" without primary key or replica identity is nothing
Expand Down
2 changes: 1 addition & 1 deletion expected/delete3.out
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ ALTER TABLE table_without_pk REPLICA IDENTITY DEFAULT;
ALTER TABLE table_with_unique REPLICA IDENTITY FULL;
DELETE FROM table_with_unique WHERE b = 1;
ALTER TABLE table_with_unique REPLICA IDENTITY DEFAULT;
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0');
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0', 'pretty-print', '1');
data
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
{ +
Expand Down
2 changes: 1 addition & 1 deletion expected/delete4.out
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ ALTER TABLE table_with_unique REPLICA IDENTITY USING INDEX table_with_unique_g_n
DELETE FROM table_with_unique WHERE b = 1;
DELETE FROM table_with_unique WHERE n = true;
ALTER TABLE table_with_unique REPLICA IDENTITY DEFAULT;
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0');
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0', 'pretty-print', '1');
data
-----------------------------------------------------------------
{ +
Expand Down
2 changes: 1 addition & 1 deletion expected/insert1.out
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ INSERT INTO table_with_pk (b, c, d, e, f, g, h, i, j, k, l, m, n, o, p) VALUES(1
INSERT INTO table_without_pk (b, c, d, e, f, g, h, i, j, k, l, m, n, o, p) VALUES(1, 2, 3, 3.54, 876.563452345, 1.23, 'teste', 'testando', 'um texto longo', B'001110010101010', '2013-11-02 17:30:52', '2013-02-04', true, '{ "a": 123 }', 'Old Old Parr'::tsvector);
INSERT INTO table_with_unique (b, c, d, e, f, g, h, i, j, k, l, m, n, o, p) VALUES(1, 2, 3, 3.54, 876.563452345, 1.23, 'teste', 'testando', 'um texto longo', B'001110010101010', '2013-11-02 17:30:52', '2013-02-04', true, '{ "a": 123 }', 'Old Old Parr'::tsvector);
COMMIT;
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0');
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0', 'pretty-print', '1');
data
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
{ +
Expand Down
2 changes: 1 addition & 1 deletion expected/savepoint.out
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ ROLLBACK TO SAVEPOINT sp2;
RELEASE SAVEPOINT sp1;
INSERT INTO xpto (b) VALUES('francisco');
END;
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0');
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0', 'pretty-print', '1');
data
----------------------------------------------------------
{ +
Expand Down
2 changes: 1 addition & 1 deletion expected/specialvalue.out
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ INSERT INTO xpto (b, c, d) VALUES('f', 'test2', 'nan');
INSERT INTO xpto (b, c, d) VALUES(NULL, 'null', '-inf');
INSERT INTO xpto (b, c, d) VALUES(TRUE, E'valid: '' " \\ / \b \f \n \r \t \u207F \u967F invalid: \\g \\k end', 123.456);
COMMIT;
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0');
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0', 'pretty-print', '1');
data
--------------------------------------------------------------------------------------------------------------------------
{ +
Expand Down
2 changes: 1 addition & 1 deletion expected/toast.out
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ INSERT INTO xpto (toasted_col2) SELECT repeat(string_agg(to_char(g.i, 'FM0000'),
UPDATE xpto SET toasted_col1 = (SELECT string_agg(g.i::text, '') FROM generate_series(1, 2000) g(i)) WHERE id = 1;
UPDATE xpto SET rand1 = 123.456 WHERE id = 1;
DELETE FROM xpto WHERE id = 1;
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0');
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0', 'pretty-print', '1');
WARNING: column "toasted_col2" has an unchanged TOAST
WARNING: column "toasted_col1" has an unchanged TOAST
WARNING: column "toasted_col2" has an unchanged TOAST
Expand Down
2 changes: 1 addition & 1 deletion expected/update1.out
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ UPDATE table_with_pk SET f = -f WHERE b = 1;
UPDATE table_with_pk SET b = -b WHERE b = 1;
-- UPDATE: unique
UPDATE table_with_unique SET n = false WHERE b = 1;
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0');
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0', 'pretty-print', '1');
WARNING: table "table_without_pk" without primary key or replica identity is nothing
WARNING: table "table_with_unique" without primary key or replica identity is nothing
data
Expand Down
2 changes: 1 addition & 1 deletion expected/update2.out
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ ALTER TABLE table_without_pk REPLICA IDENTITY DEFAULT;
ALTER TABLE table_with_unique REPLICA IDENTITY NOTHING;
UPDATE table_with_unique SET f = -f WHERE b = 1;
ALTER TABLE table_with_unique REPLICA IDENTITY DEFAULT;
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0');
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0', 'pretty-print', '1');
WARNING: table "table_with_pk" without primary key or replica identity is nothing
WARNING: table "table_without_pk" without primary key or replica identity is nothing
WARNING: table "table_with_unique" without primary key or replica identity is nothing
Expand Down
2 changes: 1 addition & 1 deletion expected/update3.out
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ ALTER TABLE table_without_pk REPLICA IDENTITY DEFAULT;
ALTER TABLE table_with_unique REPLICA IDENTITY FULL;
UPDATE table_with_unique SET f = -f WHERE b = 1;
ALTER TABLE table_with_unique REPLICA IDENTITY DEFAULT;
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0');
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0', 'pretty-print', '1');
data
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
{ +
Expand Down
2 changes: 1 addition & 1 deletion expected/update4.out
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ ALTER TABLE table_with_unique REPLICA IDENTITY USING INDEX table_with_unique_g_n
UPDATE table_with_unique SET c = -c WHERE b = 1;
UPDATE table_with_unique SET g = -g WHERE n = true;
ALTER TABLE table_with_unique REPLICA IDENTITY DEFAULT;
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0');
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'include-xids', '0', 'pretty-print', '1');
data
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
{ +
Expand Down

0 comments on commit f29506e

Please sign in to comment.