Check that connection limit is within valid range. IOW, not < -1.
commit2dfe18952e51b618d7099e4a85fd517a58693ae2
authorheikki <heikki>
Fri, 30 Jan 2009 17:24:47 +0000 (30 17:24 +0000)
committerheikki <heikki>
Fri, 30 Jan 2009 17:24:47 +0000 (30 17:24 +0000)
tree2374e97821e0aeb3db412f4d4e8281af470f8861
parent10a24f310f8eead44ba2d384d99559bf62c9c2e6
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.
src/backend/commands/dbcommands.c
src/backend/commands/user.c