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

Re: psql \du and \dg is the same - pg 8.4

From: Andreas Wenk <a(dot)wenk(at)netzmeister-st-pauli(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: psql \du and \dg is the same - pg 8.4
Date: 2009-07-21 20:12:46
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Tom Lane wrote:
> ANdreas Wenk <a(dot)wenk(at)netzmeister-st-pauli(dot)de> writes:
>> actually I discovered that using \du and \dg in psql is providing the 
>> same result:
> Yup.  The psql documentation says as much.

ok - got it ;-)

Should have read the psql docu ...

>> I am wondering why there is \dg at all.
> Users and groups used to be distinct kinds of objects.  They aren't
> anymore, but people might still be used to the old commands.

Yeah I know - but I was wondering if it would make sense to have \dg 
with a different result because here

the people still read about group roles. I am not sure what is confusing 
here - in psql or in the docu.

> 			regards, tom lane




In response to

pgsql-hackers by date

Next:From: Bernd HelmleDate: 2009-07-21 20:20:24
Subject: Re: bytea vs. pg_dump
Previous:From: Tom LaneDate: 2009-07-21 20:02:42
Subject: Re: psql \du and \dg is the same - pg 8.4

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