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

Re: [despammed] Does a user have usage on a schema?

From: Andreas Kretschmer <akretschmer(at)despammed(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: [despammed] Does a user have usage on a schema?
Date: 2005-06-29 15:16:35
Message-ID: 20050629151635.GA6309@webserv.wug-glas.de (view raw or flat)
Thread:
Lists: pgsql-novice
am  29.06.2005, um  8:57:32 -0600 mailte Walker, Jed S folgendes:
> How can I query the database to determine if a user has usage on a
> particular schema, and how can I query the database to find out all the
> schemas a user has usage on? 

start psql with -E and type "\n" to see all schemas and the underlaying
select. Now you can modify this select to select all schemas for a user.


Regards, Andreas
-- 
Andreas Kretschmer    (Kontakt: siehe Header)
Heynitz:  035242/47212,      D1: 0160/7141639
GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net
 ===    Schollglas Unternehmensgruppe    === 

In response to

pgsql-novice by date

Next:From: Bruno Wolff IIIDate: 2005-06-29 15:36:35
Subject: Re: Does a user have usage on a schema?
Previous:From: Tom LaneDate: 2005-06-29 14:58:38
Subject: Re: Rule creation and evaluation order

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