From b3af5b2cc47715da9d67a3fc2c0f1c5ab6b7e15f Mon Sep 17 00:00:00 2001 From: Onder Kalaci Date: Wed, 17 Apr 2019 14:43:55 +0300 Subject: [PATCH] Add order by multi_mx_modifications --- src/test/regress/expected/multi_mx_modifications.out | 4 ++-- src/test/regress/sql/multi_mx_modifications.sql | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/regress/expected/multi_mx_modifications.out b/src/test/regress/expected/multi_mx_modifications.out index 47a2873d9..678847ba1 100644 --- a/src/test/regress/expected/multi_mx_modifications.out +++ b/src/test/regress/expected/multi_mx_modifications.out @@ -32,11 +32,11 @@ SELECT COUNT(*) FROM limit_orders_mx WHERE id = 32745; (1 row) -- and see all the inserted rows -SELECT * FROM limit_orders_mx; +SELECT * FROM limit_orders_mx ORDER BY 1; id | symbol | bidder_id | placed_at | kind | limit_price -------+--------+-----------+--------------------------+------+------------- - 32744 | AAPL | 9580 | Tue Oct 19 10:23:54 2004 | buy | 20.69 32743 | AAPL | 9580 | Tue Oct 19 10:23:54 2004 | buy | 20.69 + 32744 | AAPL | 9580 | Tue Oct 19 10:23:54 2004 | buy | 20.69 32745 | AAPL | 9580 | Tue Oct 19 10:23:54 2004 | buy | 20.69 (3 rows) diff --git a/src/test/regress/sql/multi_mx_modifications.sql b/src/test/regress/sql/multi_mx_modifications.sql index 1896376a8..7de25e76f 100644 --- a/src/test/regress/sql/multi_mx_modifications.sql +++ b/src/test/regress/sql/multi_mx_modifications.sql @@ -24,7 +24,7 @@ INSERT INTO limit_orders_mx VALUES (32745, 'AAPL', 9580, '2004-10-19 10:23:54', SELECT COUNT(*) FROM limit_orders_mx WHERE id = 32745; -- and see all the inserted rows -SELECT * FROM limit_orders_mx; +SELECT * FROM limit_orders_mx ORDER BY 1; -- basic single-row INSERT with RETURNING INSERT INTO limit_orders_mx VALUES (32746, 'AAPL', 9580, '2004-10-19 10:23:54', 'buy', 20.69) RETURNING *;