>>You have actually technically done more than just fix the bug. Because
>>you are passing in 'true' as the second parameter to
>>pg_get_constraintdef, you've enabled the 'pretty print' option... I'm
>>not sure it's that big a thing though...
>
>
> Yeah, I know; that was deliberate. Any objections?
Not from me - CHECK constraints are probably the most useful object to
be prettily printed after views...
Chris