Oid
CreateConstraintEntry(const char *constraintName,
                      Oid constraintNamespace,
                      char constraintType,
                      ....
                      int conInhCount,
                      bool conNoInherit,
                      bool conPeriod,
                      bool is_internal)
we can change
int conInhCount,
to
int16 conInhCount.
doing that, meaning we also need to refactor some of the caller functions.

we can also change
node Constraint field inhcount from int to int16.

the attached patch doing it.
while at it, minor changed CreateConstraintEntry caller's comments.
based on your patch.

Attachment: further_refactor_intcount.no-cfbot
Description: Binary data

Reply via email to