summaryrefslogtreecommitdiff
path: root/contrib/dblink/doc/cursor
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/dblink/doc/cursor')
-rw-r--r--contrib/dblink/doc/cursor7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/dblink/doc/cursor b/contrib/dblink/doc/cursor
index b989fcb69cc..321c823e211 100644
--- a/contrib/dblink/doc/cursor
+++ b/contrib/dblink/doc/cursor
@@ -92,6 +92,13 @@ Outputs
Returns setof record
+Note
+
+ On a mismatch between the number of return fields as specified in the FROM
+ clause, and the actual number of fields returned by the remote cursor, an
+ ERROR will be thrown. In this event, the remote cursor is still advanced
+ by as many rows as it would have been if the ERROR had not occurred.
+
Example usage
test=# select dblink_connect('dbname=postgres');