diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2014-04-30 13:46:16 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2014-04-30 13:46:16 -0400 |
commit | 0140bee43d55324a066a43bce63fc6ed70c305de (patch) | |
tree | 30274e831073c9fd7d0fc125d572635037c2228d /src/backend/access/gist/gistutil.c | |
parent | 0652d77fb067137be22dc3e42aa60bffa26726ac (diff) | |
download | postgresql-0140bee43d55324a066a43bce63fc6ed70c305de.tar.gz postgresql-0140bee43d55324a066a43bce63fc6ed70c305de.zip |
Check for interrupts and stack overflow during rule/view dumps.
Since ruleutils.c recurses, it could be driven to stack overflow by
deeply nested constructs. Very large queries might also take long
enough to deparse that a check for interrupts seems like a good idea.
Stick appropriate tests into a couple of key places.
Noted by Greg Stark. Back-patch to all supported branches.
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions