]> git.ipfire.org Git - thirdparty/psycopg.git/commit
feat: only Sync nested pipelines at exit 269/head
authorDenis Laxalde <denis@laxalde.org>
Wed, 6 Apr 2022 18:01:53 +0000 (20:01 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sat, 7 May 2022 12:51:51 +0000 (14:51 +0200)
commit785b1b73e97eb461ed9dca4830684c7e7cb9e3ba
tree0482c03ff9bcdbd714a8eb215e14f6276dd0fc86
parente49aa7a72616f87436e92e7266861164fdfc1864
feat: only Sync nested pipelines at exit

It's not needed to force a results fetch when exiting a nested pipeline
as this would naturally happen either later in the outer pipeline or
eventually at the end of the outermost one. Rather, just do a Sync, as
it allows outer pipeline to resume normal execution in case the inner
one got into aborted state.
psycopg/psycopg/_pipeline.py