| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | overbored <overbored(at)overbored(dot)net> |
| Cc: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: Help extending pg_class |
| Date: | 2004-12-20 15:50:07 |
| Message-ID: | 19539.1103557807@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
overbored <overbored(at)overbored(dot)net> 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Merlin Moncure | 2004-12-20 15:58:31 | Re: Shared row locking |
| Previous Message | Tom Lane | 2004-12-20 14:58:06 | Re: Shared row locking |