git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: ceeaaed) | patch
Fix psql describe commands' handling of ACL columns for old servers.
2024年9月24日 21:21:38 +0000 (17:21 -0400)
2024年9月24日 21:21:38 +0000 (17:21 -0400)
commit 1591b38d17c55015403f6e3c9461538ffcf704e7
Fix psql describe commands' handling of ACL columns for old servers.

Commit d1379ebf4 carelessly broke printACLColumn for pre-9.4 servers,
by using the cardinality() function which we introduced in 9.4.
We expect psql's describe-related commands to work back to 9.2, so
this is bad. Use the longstanding array_length() function instead.

Per report from Christoph Berg. Back-patch to v17.

Discussion: https://postgr.es/m/ZvLXYglRS6hMMhtr@msg.df7cb.de
src/bin/psql/describe.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /