pgsql: Extend psql's \lo_list/\dl to be able to print large objects' AC

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Extend psql's \lo_list/\dl to be able to print large objects' AC
Дата
Msg-id E1n5XCQ-000311-Sl@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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/6d722115-6297-bc53-bb7f-5f150e765299@postgrespro.ru

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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: doc: Remove link to JSON support in the SQL specification
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Prevent altering partitioned table's rowtype, if it's used elsew