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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: ANdreas Wenk <a(dot)wenk(at)netzmeister-st-pauli(dot)de>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: psql \du and \dg is the same - pg 8.4
Date: 2009-07-21 20:02:42
Message-ID: 18782.1248206562@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

> 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.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andreas Wenk 2009-07-21 20:12:46 Re: psql \du and \dg is the same - pg 8.4
Previous Message Tom Lane 2009-07-21 19:59:58 Re: [PATCH v4] Avoid manual shift-and-test logic in AllocSetFreeIndex