aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/syscat.source
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-02-02 22:26:23 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-02-02 22:26:23 +0000
commited5858dff87b15e157398228d57b422bc705b220 (patch)
tree9050a9191157ef71aec33debb2b24f8b30557ba1 /src/tutorial/syscat.source
parent6909d80982a6d11d9d6c9e49a16c414f0aa98c2a (diff)
downloadpostgresql-ed5858dff87b15e157398228d57b422bc705b220.tar.gz
postgresql-ed5858dff87b15e157398228d57b422bc705b220.zip
Fix WaitOnLock() to ensure that the process's "waiting" flag is reset after
erroring out of a wait. We can use a PG_TRY block for this, but add a comment explaining why it'd be a bad idea to use it for any other state cleanup. Back-patch to 8.2. Prior releases had the same issue, but only with respect to the process title, which is likely to get reset almost immediately anyway after the transaction aborts, so it seems not worth changing them. In 8.2 and HEAD, the pg_stat_activity "waiting" flag could remain set incorrectly for a long time. Per report from Gurjeet Singh.
Diffstat (limited to 'src/tutorial/syscat.source')
0 files changed, 0 insertions, 0 deletions