aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/enum.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-10-12 18:40:09 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2011-10-12 18:41:49 -0400
commit7b96519fe24b6a675b2cd39ed3b89302b8f1fedb (patch)
tree0fdc267ebe53b4a2903964e293cb61518ecadde2 /src/backend/utils/adt/enum.c
parente0b268fb82fadb53171e9e7401ae8090cf36a264 (diff)
downloadpostgresql-7b96519fe24b6a675b2cd39ed3b89302b8f1fedb.tar.gz
postgresql-7b96519fe24b6a675b2cd39ed3b89302b8f1fedb.zip
Don't mark auto-generated types as extension members.
Relation rowtypes and automatically-generated array types do not need to have their own extension membership dependency entries. If we create such then it becomes more difficult to remove items from an extension, and it's also harder for an extension upgrade script to make sure it duplicates the dependencies created by the extension's regular installation script. I changed the code in such a way that this happened in commit 988cccc620dd8c16d77f88ede167b22056176324, I think because of worries about the shell-type-replacement case; but that cure was worse than the disease. It would only matter if one extension created a shell type that was replaced with an auto-generated type in another extension, which seems pretty far-fetched. Better to make this work unsurprisingly in normal cases. Report and patch by Robert Haas, comment adjustments by me.
Diffstat (limited to 'src/backend/utils/adt/enum.c')
0 files changed, 0 insertions, 0 deletions