aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistproc.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2012-11-05 13:36:16 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2012-11-05 13:36:16 -0500
commit5ed6546cf75623ba426942a3b71659a66cf7ed68 (patch)
tree2ee9770c6996159fdf12de5e4913e3d8b1c8d982 /src/backend/access/gist/gistproc.c
parent4bb106ef4f6924312a67768571292c6f247122de (diff)
downloadpostgresql-5ed6546cf75623ba426942a3b71659a66cf7ed68.tar.gz
postgresql-5ed6546cf75623ba426942a3b71659a66cf7ed68.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/access/gist/gistproc.c')
0 files changed, 0 insertions, 0 deletions