Commit 1591b38
committed
Fix psql describe commands' handling of ACL columns for old servers.
Commit d1379eb 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.de1 parent ceeaaed commit 1591b38
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6678 | 6678 | | |
6679 | 6679 | | |
6680 | 6680 | | |
6681 | | - | |
| 6681 | + | |
6682 | 6682 | | |
6683 | 6683 | | |
6684 | 6684 | | |
| |||
0 commit comments