pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feedpgsql: Improvements to psql \dAo and \dAp commands
5+ messages / 3 participants
[nested] [flat]
* pgsql: Improvements to psql \dAo and \dAp commands
@ 2020-07-13 15:57 Alexander Korotkov <akorotkov@postgresql.org>
0 siblings, 1 reply; 5+ messages in thread
From: Alexander Korotkov @ 2020-07-13 15:57 UTC (permalink / raw)
To: pgsql-committers@lists.postgresql.org
Improvements to psql \dAo and \dAp commands
* Strategy number and purpose are essential information for opfamily operator.
So, show those columns in non-verbose output.
* "Left/right arg type" \dAp column names are confusing, because those type
don't necessary match to function arguments. Rename them to "Registered
left/right type".
* Replace manual assembling of operator/procedure names with casts to
regoperator/regprocedure.
* Add schema-qualification for pg_catalog functions and tables.
Reported-by: Peter Eisentraut, Tom Lane
Reviewed-by: Tom Lane
Discussion: https://postgr.es/m/2edc7b27-031f-b2b6-0db2-864241c91cb9%402ndquadrant.com
Backpatch-through: 13
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/8d2ed66e4107ef27d05aef682c68af5952af7690
Modified Files
--------------
src/bin/psql/command.c | 2 +-
src/bin/psql/describe.c | 93 ++++++++++++++++++------------------
src/bin/psql/describe.h | 2 +-
src/test/regress/expected/psql.out | 98 +++++++++++++++++++-------------------
src/test/regress/sql/psql.sql | 2 +-
5 files changed, 98 insertions(+), 99 deletions(-)
^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Improvements to psql \dAo and \dAp commands
@ 2020-07-13 15:57 Alexander Korotkov <akorotkov@postgresql.org>
0 siblings, 0 replies; 5+ messages in thread
From: Alexander Korotkov @ 2020-07-13 15:57 UTC (permalink / raw)
To: pgsql-committers@lists.postgresql.org
Improvements to psql \dAo and \dAp commands
* Strategy number and purpose are essential information for opfamily operator.
So, show those columns in non-verbose output.
* "Left/right arg type" \dAp column names are confusing, because those type
don't necessary match to function arguments. Rename them to "Registered
left/right type".
* Replace manual assembling of operator/procedure names with casts to
regoperator/regprocedure.
* Add schema-qualification for pg_catalog functions and tables.
Reported-by: Peter Eisentraut, Tom Lane
Reviewed-by: Tom Lane
Discussion: https://postgr.es/m/2edc7b27-031f-b2b6-0db2-864241c91cb9%402ndquadrant.com
Backpatch-through: 13
Branch
------
REL_13_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/ae290059e1aa5bc2272a0345184bcf05407f69a4
Modified Files
--------------
src/bin/psql/command.c | 2 +-
src/bin/psql/describe.c | 93 ++++++++++++++++++------------------
src/bin/psql/describe.h | 2 +-
src/test/regress/expected/psql.out | 98 +++++++++++++++++++-------------------
src/test/regress/sql/psql.sql | 2 +-
5 files changed, 98 insertions(+), 99 deletions(-)
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: pgsql: Improvements to psql \dAo and \dAp commands
@ 2020-07-13 16:00 Alexander Korotkov <aekorotkov@gmail.com>
parent: Alexander Korotkov <akorotkov@postgresql.org>
0 siblings, 1 reply; 5+ messages in thread
From: Alexander Korotkov @ 2020-07-13 16:00 UTC (permalink / raw)
To: Alexander Korotkov <akorotkov@postgresql.org>; +Cc: pgsql-committers <pgsql-committers@lists.postgresql.org>
On Mon, Jul 13, 2020 at 6:57 PM Alexander Korotkov
<akorotkov@postgresql.org> wrote:
> Improvements to psql \dAo and \dAp commands
Oops, I've just pushed the commit with timestamp too far in the past.
Sorry for that.
------
Regards,
Alexander Korotkov
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: pgsql: Improvements to psql \dAo and \dAp commands
@ 2020-07-13 19:39 Tom Lane <tgl@sss.pgh.pa.us>
parent: Alexander Korotkov <aekorotkov@gmail.com>
0 siblings, 1 reply; 5+ messages in thread
From: Tom Lane @ 2020-07-13 19:39 UTC (permalink / raw)
To: Alexander Korotkov <aekorotkov@gmail.com>; +Cc: Alexander Korotkov <akorotkov@postgresql.org>; pgsql-committers <pgsql-committers@lists.postgresql.org>
Alexander Korotkov <aekorotkov@gmail.com> writes:
> On Mon, Jul 13, 2020 at 6:57 PM Alexander Korotkov
> <akorotkov@postgresql.org> wrote:
>> Improvements to psql \dAo and \dAp commands
> Oops, I've just pushed the commit with timestamp too far in the past.
> Sorry for that.
Some committers use workflows where the author-date is regularly
well in the past. Because of that, git_changelog and other tools
tend to look at the committer-date instead. Don't sweat about it.
regards, tom lane
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: pgsql: Improvements to psql \dAo and \dAp commands
@ 2020-07-13 19:55 Alexander Korotkov <aekorotkov@gmail.com>
parent: Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 5+ messages in thread
From: Alexander Korotkov @ 2020-07-13 19:55 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Alexander Korotkov <akorotkov@postgresql.org>; pgsql-committers <pgsql-committers@lists.postgresql.org>
On Mon, Jul 13, 2020 at 10:39 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Alexander Korotkov <aekorotkov@gmail.com> writes:
> > On Mon, Jul 13, 2020 at 6:57 PM Alexander Korotkov
> > <akorotkov@postgresql.org> wrote:
> >> Improvements to psql \dAo and \dAp commands
>
> > Oops, I've just pushed the commit with timestamp too far in the past.
> > Sorry for that.
>
> Some committers use workflows where the author-date is regularly
> well in the past. Because of that, git_changelog and other tools
> tend to look at the committer-date instead. Don't sweat about it.
Got it, thanks!
------
Regards,
Alexander Korotkov
^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2020-07-13 19:55 UTC | newest]
Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-07-13 15:57 pgsql: Improvements to psql \dAo and \dAp commands Alexander Korotkov <akorotkov@postgresql.org>
2020-07-13 16:00 ` Alexander Korotkov <aekorotkov@gmail.com>
2020-07-13 19:39 ` Tom Lane <tgl@sss.pgh.pa.us>
2020-07-13 19:55 ` Alexander Korotkov <aekorotkov@gmail.com>
2020-07-13 15:57 pgsql: Improvements to psql \dAo and \dAp commands Alexander Korotkov <akorotkov@postgresql.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox