Re: ADD/DROP constraints - Mailing list pgsql-hackers

From Greg Stark
Subject Re: ADD/DROP constraints
Date
Msg-id 87slmego3i.fsf@stark.xeocode.com
Whole thread Raw
In response to Re: ADD/DROP constraints  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> writes:

> Greg Stark <gsstark@mit.edu> writes:
> > There seems to be something I'm missing wrt the conbin string.
> 
> You can't access fields that lie to the right of a variable-width field
> using C struct field names.  You need to use heap_getattr() or one of
> its relatives to obtain a pointer to such a field.  You ought to be
> checking for NULL, too.

That makes sense. Thanks

-- 
greg



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: That EXPLAIN ANALYZE patch still needs work
Next
From: Greg Stark
Date:
Subject: Re: That EXPLAIN ANALYZE patch still needs work