Hi hackers, Andrew Gierth complained off-list that TupleDescCopy() doesn't clear atthasdef. Yeah, that's an oversight. The function is new in commit cc5f81366c36 and was written by me to support "flat" (pointer-free) tuple descriptors for use in DSM. Following the example of CreateTupleDescCopy() I think it should also clear attnotnull and attidentity. Please see attached.
-- Thomas Munro http://www.enterprisedb.com
fix-TupleDescCopy-v1.patch
Description: Binary data