Reduce SAVEPOINT calls especially in use declare/fetch mode by omitting SAVEPOINT...
authorHiroshi Inoue <h-inoue@dream.email.ne.jp>
Mon, 12 Jun 2017 12:09:20 +0000 (21:09 +0900)
committerHiroshi Inoue <h-inoue@dream.email.ne.jp>
Wed, 14 Jun 2017 11:50:02 +0000 (20:50 +0900)
commit04e2d27c0e918122e42d6757d76f00448f47d555
tree87eb494ae6b7fa0ed18959f7c0f462e74339a2a4
parentb41ab52733a46b72bc269725a0638296c6305c52
Reduce SAVEPOINT calls especially in use declare/fetch mode by omitting SAVEPOINT calls after read-only statements(queries).
Note that DECLARE command is not thought to be read-only because the cursor disappears when rolled back to a savepoint established before the DECLARE command.
connection.c
connection.h
execute.c
info.c
parse.c
pgapifunc.h
qresult.c
results.c
statement.c
statement.h