=?ISO-8859-1?Q?Freddy_Exp=F3sito_Moreno?= <fredo(at)uh(dot)cu> writes:
> This is a good idea if I want to reject the access to this database
> every time but in my case I need to close de access to one database
> one time and could be any database in any moment. A need a dynamic solution.
If you are really insistent on doing that, you'll need to set up a
separate installation (separate postmaster) for each database.
regards, tom lane