aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql/describe.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2022-01-06 13:09:05 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2022-01-06 13:09:05 -0500
commit328dfbdabd22e321bfe1f0547be71faca99a11e9 (patch)
tree3066c13d8e42d48fcbe95b53bca85bf66e9d03a1 /src/bin/psql/describe.h
parentee5822361dabf03300a24f60d57a968a654e1d46 (diff)
downloadpostgresql-328dfbdabd22e321bfe1f0547be71faca99a11e9.tar.gz
postgresql-328dfbdabd22e321bfe1f0547be71faca99a11e9.zip
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
Diffstat (limited to 'src/bin/psql/describe.h')
-rw-r--r--src/bin/psql/describe.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/psql/describe.h b/src/bin/psql/describe.h
index 71b320f1fc6..b57ba67bba2 100644
--- a/src/bin/psql/describe.h
+++ b/src/bin/psql/describe.h
@@ -139,5 +139,7 @@ extern bool listOpFamilyOperators(const char *accessMethod_pattern,
extern bool listOpFamilyFunctions(const char *access_method_pattern,
const char *family_pattern, bool verbose);
+/* \dl or \lo_list */
+extern bool listLargeObjects(bool verbose);
#endif /* DESCRIBE_H */