postgresql/src/test
Tom Lane eb51af71f2 Prevent a rowtype from being included in itself.
Eventually we might be able to allow that, but it's not clear how many
places need to be fixed to prevent infinite recursion when there's a direct
or indirect inclusion of a rowtype in itself.  One such place is
CheckAttributeType(), which will recurse to stack overflow in cases such as
those exhibited in bug #5950 from Alex Perepelica.  If we were sure it was
the only such place, we could easily modify the code added by this patch to
stop the recursion without a complaint ... but it probably isn't the only
such place.  Hence, throw error until such time as someone is excited
enough about this type of usage to put work into making it safe.

Back-patch as far as 8.3.  8.2 doesn't have the recursive call in
CheckAttributeType in the first place, so I see no need to add code there
in the absence of clear evidence of a problem elsewhere.
2011-03-28 15:46:04 -04:00
..
examples Use "backend process" rather than "backend server", where appropriate. 2011-03-12 09:38:56 -05:00
isolation Fix bugs in the isolation tester flex rules. 2011-03-10 09:06:56 +02:00
locale Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
mb Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
performance Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
regress Prevent a rowtype from being included in itself. 2011-03-28 15:46:04 -04:00
thread Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
Makefile Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00