Re: [HACKERS] [PATCHES] [BUGS] BUG #2704: pg_class.relchecks overflow

2006-11-12 Thread Toru SHIMOGAKI
Tom Lane wrote: > While there's not anything wrong with this proposed patch in itself, > I have to admit that I don't see the point. The points are: 1. It is just unpleasant to leave the overflow. 2. It is not easy for users to understand what they should do when they encounter the error messag

Re: [HACKERS] [PATCHES] [BUGS] BUG #2704: pg_class.relchecks overflow problem

2006-11-11 Thread Tom Lane
Toru SHIMOGAKI <[EMAIL PROTECTED]> writes: > + if (numchecks == 0x7FFF) > + ereport(ERROR, > + > (errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED), > + errmsg("cannot have more than 2^15-1 checks in a > table"))); W