Skip site navigation (1) Skip section navigation (2)

pgsql: Check that connection limit is within valid range.

From: heikki(at)postgresql(dot)org (Heikki Linnakangas)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Check that connection limit is within valid range.
Date: 2009-01-30 17:24:47
Message-ID: 20090130172447.B0A487559ED@cvs.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
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)

pgsql-committers by date

Next:From: User MkzDate: 2009-01-30 19:42:03
Subject: pgbouncer - pgbouncer: win32: improve service description Hiroshi Saito
Previous:From: Tom LaneDate: 2009-01-30 16:59:16
Subject: pgsql: Defend against null input in analyze_requires_snapshot(), per

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group