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: 4A66213E.5030100@netzmeister-st-pauli.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

http://www.postgresql.org/docs/8.4/interactive/role-membership.html

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

> regards, tom lane

Cheers

Andy
Cheers

Andy

In response to

Browse pgsql-hackers by date

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