"Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au> writes:
> I gather that the following code goes though the heap and removes all check
> contraints associated with a particular table, but how do I extend the code
> to match both a table relid and the constraint name?
Add another ScanKey. Look at uses of ScanKeyEntryInitialize for examples.
regards, tom lane