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