Re: Problems with simple_heap_update and Form_pg_relcheck - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Problems with simple_heap_update and Form_pg_relcheck
Date
Msg-id 29438.1010768247@sss.pgh.pa.us
Whole thread Raw
In response to Problems with simple_heap_update and Form_pg_relcheck  (Holger Krug <hkrug@rationalizer.com>)
Responses Re: Problems with simple_heap_update and Form_pg_relcheck  (Holger Krug <hkrug@rationalizer.com>)
List pgsql-hackers
Holger Krug <hkrug@rationalizer.com> writes:
>     ((Form_pg_relcheck) GETSTRUCT(rctup))->rcerrhandlers = found + 1;

What's an "rcerrhandlers"?  It doesn't appear in current sources.

> pg_relcheck after the update is done:
> [rcbin is messed up]

I have a feeling you added rcerrhandlers after the variable-length
fields.  Not good, at least not if you want to access it via a C
struct.  See, eg,
http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/catalog/README
        regards, tom lane


pgsql-hackers by date:

Previous
From: Don Baccus
Date:
Subject: Re: again on index usage
Next
From: Tom Lane
Date:
Subject: Re: 7.1 vs. 7.2 on AIX 5L