overbored <[EMAIL PROTECTED]> writes: > Hi all, I added a new variable-length field to the pg_class catalog, but > I did something wrong, and I can't tell what else I'd need to change. > ... > The REVOKE command invokes ExecuteGrantStmt_Relation() to modify the > relacl attribute of pg_class, which is the last attribute and also > var-length. My new field is interfering with this operation somehow. For > some reason, in frame 2, the new 'value' array is allocated with length > numberOfAttributes = RelationGetForm(relation)->relnatts = 25, instead > of 26.
I think that would come from Natts_pg_class (via formrdesc()). Are you sure you updated pg_class completely, did a full rebuild, and an initdb? regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])