block a database

Поиск
Список
Период
Сортировка
Искать

block a database

От:
ALEXANDER JOSE <aangelj@hotmail.com>
Дата:
As I can block a database so users can not connect without affecting the other databases.


Atentamente,

Alexander Angel
DBA
058-02128018316


Connect to the next generation of MSN Messenger  Get it now!

Re: block a database

От:
"Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Дата:
ALEXANDER JOSE  wrote:
 
> As I can block a database so users can not connect without 
> affecting the other databases.
 
You probably want to use the pg_hba.conf file:
 
http://www.postgresql.org/docs/8.4/interactive/auth-pg-hba-conf.html
 
-Kevin

Re: block a database

От:
Bruce Momjian <bruce@momjian.us>
Дата:
Kevin Grittner wrote:
> ALEXANDER JOSE  wrote:
>  
> > As I can block a database so users can not connect without 
> > affecting the other databases.
>  
> You probably want to use the pg_hba.conf file:
>  
> http://www.postgresql.org/docs/8.4/interactive/auth-pg-hba-conf.html

or:

	ALTER DATABASE ...  CONNECTION LIMIT connlimit

-- 
  Bruce Momjian          http://momjian.us
  EnterpriseDB                             http://enterprisedb.com
FAQ