Re: ADD/DROP constraints

From: Greg Stark <gsstark(at)mit(dot)edu>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Greg Stark <gsstark(at)mit(dot)edu>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: ADD/DROP constraints
Date: 2006-06-09 18:50:41
Message-ID: 87slmego3i.fsf@stark.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:

> Greg Stark <gsstark(at)mit(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2006-06-09 18:53:28 Re: That EXPLAIN ANALYZE patch still needs work
Previous Message Tom Lane 2006-06-09 18:42:29 Re: That EXPLAIN ANALYZE patch still needs work