From: | Josh Kupershmidt <schmiddy(at)gmail(dot)com> |
---|---|
To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | psql: \dg off by one error |
Date: | 2011-02-27 00:21:05 |
Message-ID: | AANLkTimgbL9SHLXj38Qtmo6vmuwocW5rRLCKWQmO1bxE@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi all,
I noticed an off by one error in psql's verbose-mode display for \dg
and \du. In verbose mode, \dg and \du will not display the
"Replication" attribute:
test=# \dg rep
List of roles
Role name | Attributes | Member of
-----------+-------------+-----------
rep | Replication | {}
test=# \dg+ rep
List of roles
Role name | Attributes | Member of | Description
-----------+------------+-----------+-------------
rep | | {} |
Attached is a one line patch to fix.
Josh
Attachment | Content-Type | Size |
---|---|---|
psql_replication_display.patch | text/x-patch | 720 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | fork | 2011-02-27 00:40:29 | Re: Generalized edit function? |
Previous Message | Anton | 2011-02-26 23:40:28 | Native XML |