pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
block a database
3+ messages / 3 participants
[nested] [flat]

* block a database
@ 2010-04-08 20:52  ALEXANDER JOSE <aangelj@hotmail.com>
  0 siblings, 1 reply; 3+ messages in thread

From: ALEXANDER JOSE @ 2010-04-08 20:52 UTC (permalink / raw)
  To: pgsql-admin


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 
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline=

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: block a database
@ 2010-04-08 20:56  Kevin Grittner <Kevin.Grittner@wicourts.gov>
  parent: ALEXANDER JOSE <aangelj@hotmail.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Kevin Grittner @ 2010-04-08 20:56 UTC (permalink / raw)
  To: ALEXANDER JOSE <aangelj@hotmail.com>; pgsql-admin

ALEXANDER JOSE <aangelj@hotmail.com> 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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: block a database
@ 2010-04-15 00:12  Bruce Momjian <bruce@momjian.us>
  parent: Kevin Grittner <Kevin.Grittner@wicourts.gov>
  0 siblings, 0 replies; 3+ messages in thread

From: Bruce Momjian @ 2010-04-15 00:12 UTC (permalink / raw)
  To: Kevin Grittner <Kevin.Grittner@wicourts.gov>; +Cc: ALEXANDER JOSE <aangelj@hotmail.com>; pgsql-admin

Kevin Grittner wrote:
> ALEXANDER JOSE <aangelj@hotmail.com> 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  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2010-04-15 00:12 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-04-08 20:52 block a database ALEXANDER JOSE <aangelj@hotmail.com>
2010-04-08 20:56 ` Kevin Grittner <Kevin.Grittner@wicourts.gov>
2010-04-15 00:12   ` Bruce Momjian <bruce@momjian.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox