mirror of
https://github.com/postgres/postgres.git
synced 2025-06-06 00:02:36 -04:00
expected results for dblink test seem to be out of date ...
This commit is contained in:
parent
043be9ad96
commit
0e9b05bde9
@ -175,7 +175,9 @@ SELECT dblink_close('rmt_foo_cursor');
|
|||||||
-- should generate 'cursor "rmt_foo_cursor" not found' error
|
-- should generate 'cursor "rmt_foo_cursor" not found' error
|
||||||
SELECT *
|
SELECT *
|
||||||
FROM dblink_fetch('rmt_foo_cursor',4) AS t(a int, b text, c text[]);
|
FROM dblink_fetch('rmt_foo_cursor',4) AS t(a int, b text, c text[]);
|
||||||
ERROR: cursor "rmt_foo_cursor" does not exist
|
ERROR: sql error
|
||||||
|
DETAIL: ERROR: cursor "rmt_foo_cursor" does not exist
|
||||||
|
|
||||||
-- close the persistent connection
|
-- close the persistent connection
|
||||||
SELECT dblink_disconnect();
|
SELECT dblink_disconnect();
|
||||||
dblink_disconnect
|
dblink_disconnect
|
||||||
@ -375,7 +377,9 @@ SELECT dblink_close('myconn','rmt_foo_cursor');
|
|||||||
-- should generate 'cursor "rmt_foo_cursor" not found' error
|
-- should generate 'cursor "rmt_foo_cursor" not found' error
|
||||||
SELECT *
|
SELECT *
|
||||||
FROM dblink_fetch('myconn','rmt_foo_cursor',4) AS t(a int, b text, c text[]);
|
FROM dblink_fetch('myconn','rmt_foo_cursor',4) AS t(a int, b text, c text[]);
|
||||||
ERROR: cursor "rmt_foo_cursor" does not exist
|
ERROR: sql error
|
||||||
|
DETAIL: ERROR: cursor "rmt_foo_cursor" does not exist
|
||||||
|
|
||||||
-- close the named persistent connection
|
-- close the named persistent connection
|
||||||
SELECT dblink_disconnect('myconn');
|
SELECT dblink_disconnect('myconn');
|
||||||
dblink_disconnect
|
dblink_disconnect
|
||||||
|
Loading…
x
Reference in New Issue
Block a user