Re: psql \du and \dg is the same - pg 8.4 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: psql \du and \dg is the same - pg 8.4
Date
Msg-id 18782.1248206562@sss.pgh.pa.us
Whole thread Raw
In response to psql \du and \dg is the same - pg 8.4  (ANdreas Wenk <a.wenk@netzmeister-st-pauli.de>)
Responses Re: psql \du and \dg is the same - pg 8.4
List pgsql-hackers
ANdreas Wenk <a.wenk@netzmeister-st-pauli.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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCH v4] Avoid manual shift-and-test logic in AllocSetFreeIndex
Next
From: Andreas Wenk
Date:
Subject: Re: psql \du and \dg is the same - pg 8.4