Extend psql's \lo_list/\dl to be able to print large objects' ACLs. The ACL is printed when you add + to the command, similarly to various other psql backslash commands.
Along the way, move the code for this into describe.c, where it is a better fit (and can share some code). Pavel Luzanov, reviewed by Georgios Kokolatos Discussion: https://postgr.es/m/[email protected] Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/328dfbdabd22e321bfe1f0547be71faca99a11e9 Modified Files -------------- doc/src/sgml/ddl.sgml | 2 +- doc/src/sgml/ref/psql-ref.sgml | 10 ++++-- src/bin/psql/command.c | 6 ++-- src/bin/psql/describe.c | 46 +++++++++++++++++++++++++ src/bin/psql/describe.h | 2 ++ src/bin/psql/help.c | 4 +-- src/bin/psql/large_obj.c | 39 --------------------- src/bin/psql/large_obj.h | 1 - src/test/regress/expected/largeobject.out | 53 ++++++++++++++++++----------- src/test/regress/expected/largeobject_1.out | 53 ++++++++++++++++++----------- src/test/regress/sql/largeobject.sql | 28 +++++++-------- 11 files changed, 144 insertions(+), 100 deletions(-)
