{"shas":[["fca20bcec9f4cae358044bdc66ebcb88c07c5ac2","ffeaa947aef224da9ba99b6a18bdd74288df0e3e@sss.pgh.pa.us","Prevent a rowtype from being included in itself.\n\nEventually we might be able to allow that, but it's not clear how many\nplaces need to be fixed to prevent infinite recursion when there's a direct\nor indirect inclusion of a rowtype in itself.  One such place is\nCheckAttributeType(), which will recurse to stack overflow in cases such as\nthose exhibited in bug #5950 from Alex Perepelica.  If we were sure it was\nthe only such place, we could easily modify the code added by this patch to\nstop the recursion without a complaint ... but it probably isn't the only\nsuch place.  Hence, throw error until such time as someone is excited\nenough about this type of usage to put work into making it safe.\n\nBack-patch as far as 8.3.  8.2 doesn't have the recursive call in\nCheckAttributeType in the first place, so I see no need to add code there\nin the absence of clear evidence of a problem elsewhere.","Tom Lane"]],"repo":"postgres/postgres","actor":"postgres-mirror","ref":"refs/heads/REL8_4_STABLE","size":1,"head":"fca20bcec9f4cae358044bdc66ebcb88c07c5ac2","actor_gravatar":"b843ba1ea54a1b6c35a20550ad076b2b","push_id":27699340}