Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 2576dd4

Browse files
author
Neil Conway
committed
Fix two more regression tests whose expected outputs were not updated
for the recent may/might cleanup.
1 parent 52096ae commit 2576dd4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

contrib/dblink/expected/dblink.out

+2-2
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ SELECT dblink_close('myconn','rmt_foo_cursor');
509509
-- this should fail because there is no open transaction
510510
SELECT dblink_exec('myconn','DECLARE xact_test CURSOR FOR SELECT * FROM foo');
511511
ERROR: sql error
512-
DETAIL: ERROR: DECLARE CURSOR may only be used in transaction blocks
512+
DETAIL: ERROR: DECLARE CURSOR can only be used in transaction blocks
513513

514514
-- reset remote transaction state
515515
SELECT dblink_exec('myconn','ABORT');
@@ -717,7 +717,7 @@ UNION
717717
(SELECT * from dblink_get_result('dtest3') as t3(f1 int, f2 text, f3 text[]))
718718
ORDER by f1;
719719
SELECT dblink_get_connections();
720-
dblink_get_connections
720+
dblink_get_connections
721721
------------------------
722722
{dtest1,dtest2,dtest3}
723723
(1 row)

contrib/earthdistance/expected/earthdistance.out

+4-4
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,7 @@ SELECT is_point(ll_to_earth(0,0));
882882
ERROR: function is_point(earth) does not exist
883883
LINE 1: SELECT is_point(ll_to_earth(0,0));
884884
^
885-
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
885+
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
886886
SELECT cube_dim(ll_to_earth(0,0)) <= 3;
887887
?column?
888888
----------
@@ -900,7 +900,7 @@ SELECT is_point(ll_to_earth(30,60));
900900
ERROR: function is_point(earth) does not exist
901901
LINE 1: SELECT is_point(ll_to_earth(30,60));
902902
^
903-
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
903+
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
904904
SELECT cube_dim(ll_to_earth(30,60)) <= 3;
905905
?column?
906906
----------
@@ -918,7 +918,7 @@ SELECT is_point(ll_to_earth(60,90));
918918
ERROR: function is_point(earth) does not exist
919919
LINE 1: SELECT is_point(ll_to_earth(60,90));
920920
^
921-
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
921+
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
922922
SELECT cube_dim(ll_to_earth(60,90)) <= 3;
923923
?column?
924924
----------
@@ -936,7 +936,7 @@ SELECT is_point(ll_to_earth(-30,-90));
936936
ERROR: function is_point(earth) does not exist
937937
LINE 1: SELECT is_point(ll_to_earth(-30,-90));
938938
^
939-
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
939+
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
940940
SELECT cube_dim(ll_to_earth(-30,-90)) <= 3;
941941
?column?
942942
----------

0 commit comments

Comments
 (0)