Check that connection limit is within valid range. IOW, not < -1.
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Check that connection limit is within valid range. IOW, not < -1. It's missing in older versions too, but it doesn't seem worth back-porting. All negative are just harmlessly treated as "no limit", and tightening the check might even brake an application that relies on it.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/dbcommands.c | modified | +13 −1 |
| src/backend/commands/user.c | modified | +13 −1 |