git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: e2558e0) | patch
Check for interrupts and stack overflow during rule/view dumps.
2014年4月30日 17:46:19 +0000 (13:46 -0400)
2014年4月30日 17:46:19 +0000 (13:46 -0400)
commit 920fbc1b4347dfca940f7aacf28d9e22294477c1
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.
src/backend/utils/adt/ruleutils.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /