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

Re: Patch to handle connection limit for roles

From: "Dave Page" <dpage(at)pgadmin(dot)org>
To: "Guillaume Lelarge" <guillaume(at)lelarge(dot)info>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Patch to handle connection limit for roles
Date: 2008-12-31 10:06:03
Message-ID: 937d27e10812310206p1728a4f5j77f9c9d70a3e7e5d@mail.gmail.com (view raw or flat)
Thread:
Lists: pgadmin-hackers
On Tue, Dec 30, 2008 at 6:36 PM, Guillaume Lelarge
<guillaume(at)lelarge(dot)info> wrote:
> Hi,
>
> This patch handles the connection limit parameter for roles. This
> parameter is available since 8.1 but apparently, pgAdmin doesn't handle
> this yet.

HI,

Looks good to the eyeballs, except that as far as I can see, the patch
assumes the user is always using 8.1 or above and will not play nicely
with 8.0. I think you need to add a liberal smattering of 'if
(conn->BackendMinimumVersion(8, 1))'.

-- 
Dave Page
EnterpriseDB UK:   http://www.enterprisedb.com

In response to

Responses

pgadmin-hackers by date

Next:From: Dave PageDate: 2008-12-31 10:24:56
Subject: Re: import function's progress report
Previous:From: Quan ZongliangDate: 2008-12-31 07:20:27
Subject: Re: import function's progress report

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