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