aboutsummaryrefslogtreecommitdiff
path: root/src/include/regex/regex.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-01-02 23:34:42 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-01-02 23:34:42 +0000
commit20e862155f1000804f9e2ae20b7fbb9a55623951 (patch)
treeaa73bd2379ab9fa89abc9e3ba73e723934fc8b06 /src/include/regex/regex.h
parent69528aefbbf2c1bfb68b488fafd08bea390eb3f5 (diff)
downloadpostgresql-20e862155f1000804f9e2ae20b7fbb9a55623951.tar.gz
postgresql-20e862155f1000804f9e2ae20b7fbb9a55623951.zip
Forbid ALTER TABLE and CLUSTER when there are pending AFTER-trigger events
in the current backend for the target table. These operations move tuples around and would thus invalidate the TIDs stored in the trigger event records. (We need not worry about events in other backends, since acquiring exclusive lock should be enough to ensure there aren't any.) It might be sufficient to forbid only the table-rewriting variants of ALTER TABLE, but in the absence of any compelling use-case, let's just be safe and simple. Per follow-on investigation of bug #3847, though this is not actually the same problem reported therein. Possibly this should be back-patched, but since the case has never been reported from the field, I didn't bother.
Diffstat (limited to 'src/include/regex/regex.h')
0 files changed, 0 insertions, 0 deletions