mirror of
https://github.com/postgres/postgres.git
synced 2026-02-15 16:48:17 -05:00
While a self-referential view doesn't actually work, it's possible
to create one, and it turns out that this breaks some of the
information_schema views. Those views call relation_is_updatable(),
which neglected to consider the hazards of being recursive. In
older PG versions you get a "stack depth limit exceeded" error,
but since v10 it'd recurse to the point of stack overrun and crash,
because commit
|
||
|---|---|---|
| .. | ||
| prs2lock.h | ||
| rewriteDefine.h | ||
| rewriteHandler.h | ||
| rewriteManip.h | ||
| rewriteRemove.h | ||
| rewriteSupport.h | ||
| rowsecurity.h | ||