Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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


pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group