Thread: pgsql: Check that connection limit is within valid range.

pgsql: Check that connection limit is within valid range.

From
heikki@postgresql.org (Heikki Linnakangas)
Date:
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/src/backend/commands:
        dbcommands.c (r1.218 -> r1.219)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/dbcommands.c?r1=1.218&r2=1.219)
        user.c (r1.185 -> r1.186)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/user.c?r1=1.185&r2=1.186)