mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Fix two more regression tests whose expected outputs were not updated
for the recent may/might cleanup.
This commit is contained in:
@ -509,7 +509,7 @@ SELECT dblink_close('myconn','rmt_foo_cursor');
|
|||||||
-- this should fail because there is no open transaction
|
-- this should fail because there is no open transaction
|
||||||
SELECT dblink_exec('myconn','DECLARE xact_test CURSOR FOR SELECT * FROM foo');
|
SELECT dblink_exec('myconn','DECLARE xact_test CURSOR FOR SELECT * FROM foo');
|
||||||
ERROR: sql error
|
ERROR: sql error
|
||||||
DETAIL: ERROR: DECLARE CURSOR may only be used in transaction blocks
|
DETAIL: ERROR: DECLARE CURSOR can only be used in transaction blocks
|
||||||
|
|
||||||
-- reset remote transaction state
|
-- reset remote transaction state
|
||||||
SELECT dblink_exec('myconn','ABORT');
|
SELECT dblink_exec('myconn','ABORT');
|
||||||
@ -717,7 +717,7 @@ UNION
|
|||||||
(SELECT * from dblink_get_result('dtest3') as t3(f1 int, f2 text, f3 text[]))
|
(SELECT * from dblink_get_result('dtest3') as t3(f1 int, f2 text, f3 text[]))
|
||||||
ORDER by f1;
|
ORDER by f1;
|
||||||
SELECT dblink_get_connections();
|
SELECT dblink_get_connections();
|
||||||
dblink_get_connections
|
dblink_get_connections
|
||||||
------------------------
|
------------------------
|
||||||
{dtest1,dtest2,dtest3}
|
{dtest1,dtest2,dtest3}
|
||||||
(1 row)
|
(1 row)
|
||||||
|
@ -882,7 +882,7 @@ SELECT is_point(ll_to_earth(0,0));
|
|||||||
ERROR: function is_point(earth) does not exist
|
ERROR: function is_point(earth) does not exist
|
||||||
LINE 1: SELECT is_point(ll_to_earth(0,0));
|
LINE 1: SELECT is_point(ll_to_earth(0,0));
|
||||||
^
|
^
|
||||||
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
|
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
||||||
SELECT cube_dim(ll_to_earth(0,0)) <= 3;
|
SELECT cube_dim(ll_to_earth(0,0)) <= 3;
|
||||||
?column?
|
?column?
|
||||||
----------
|
----------
|
||||||
@ -900,7 +900,7 @@ SELECT is_point(ll_to_earth(30,60));
|
|||||||
ERROR: function is_point(earth) does not exist
|
ERROR: function is_point(earth) does not exist
|
||||||
LINE 1: SELECT is_point(ll_to_earth(30,60));
|
LINE 1: SELECT is_point(ll_to_earth(30,60));
|
||||||
^
|
^
|
||||||
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
|
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
||||||
SELECT cube_dim(ll_to_earth(30,60)) <= 3;
|
SELECT cube_dim(ll_to_earth(30,60)) <= 3;
|
||||||
?column?
|
?column?
|
||||||
----------
|
----------
|
||||||
@ -918,7 +918,7 @@ SELECT is_point(ll_to_earth(60,90));
|
|||||||
ERROR: function is_point(earth) does not exist
|
ERROR: function is_point(earth) does not exist
|
||||||
LINE 1: SELECT is_point(ll_to_earth(60,90));
|
LINE 1: SELECT is_point(ll_to_earth(60,90));
|
||||||
^
|
^
|
||||||
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
|
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
||||||
SELECT cube_dim(ll_to_earth(60,90)) <= 3;
|
SELECT cube_dim(ll_to_earth(60,90)) <= 3;
|
||||||
?column?
|
?column?
|
||||||
----------
|
----------
|
||||||
@ -936,7 +936,7 @@ SELECT is_point(ll_to_earth(-30,-90));
|
|||||||
ERROR: function is_point(earth) does not exist
|
ERROR: function is_point(earth) does not exist
|
||||||
LINE 1: SELECT is_point(ll_to_earth(-30,-90));
|
LINE 1: SELECT is_point(ll_to_earth(-30,-90));
|
||||||
^
|
^
|
||||||
HINT: No function matches the given name and argument types. You may need to add explicit type casts.
|
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
||||||
SELECT cube_dim(ll_to_earth(-30,-90)) <= 3;
|
SELECT cube_dim(ll_to_earth(-30,-90)) <= 3;
|
||||||
?column?
|
?column?
|
||||||
----------
|
----------
|
||||||
|
Reference in New Issue
Block a user