Re: Problems with simple_heap_update and Form_pg_relcheck

Поиск
Список
Период
Сортировка
От Holger Krug
Тема Re: Problems with simple_heap_update and Form_pg_relcheck
Дата
Msg-id 20020111183949.B17918@dev12.rationalizer.com
обсуждение исходный текст
Ответ на Re: Problems with simple_heap_update and Form_pg_relcheck  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Fri, Jan 11, 2002 at 11:57:27AM -0500, Tom Lane wrote:
> 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.

Yes, it's part of my project to add error handlers. It's the number
of error handlers for this constraint, currently my code allows
as values either 0 or 1.

> 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

I have that feeling, too. Thanks for the prompt help. 

-- 
Holger Krug
hkrug@rationalizer.com


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: again on index usage
Следующее
От: Don Baccus
Дата:
Сообщение: Re: again on index usage