aboutsummaryrefslogtreecommitdiff
path: root/src/backend/regex
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2012-11-05 13:36:21 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2012-11-05 13:36:21 -0500
commit329057fd8f967d08190cd355333430c604418d81 (patch)
tree88da1eaa8bc1c9e71f18c9a2c3430696c243e550 /src/backend/regex
parent2f5390aacc7b7ff297dcfeaeab40dae8bb3943c9 (diff)
downloadpostgresql-329057fd8f967d08190cd355333430c604418d81.tar.gz
postgresql-329057fd8f967d08190cd355333430c604418d81.zip
Fix handling of inherited check constraints in ALTER COLUMN TYPE.
This case got broken in 8.4 by the addition of an error check that complains if ALTER TABLE ONLY is used on a table that has children. We do use ONLY for this situation, but it's okay because the necessary recursion occurs at a higher level. So we need to have a separate flag to suppress recursion without making the error check. Reported and patched by Pavan Deolasee, with some editorial adjustments by me. Back-patch to 8.4, since this is a regression of functionality that worked in earlier branches.
Diffstat (limited to 'src/backend/regex')
0 files changed, 0 insertions, 0 deletions