diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2024-09-24 17:21:38 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2024-09-24 17:21:38 -0400 |
commit | 923a71584fd7efb5302cb8bf5a5bd417b531123f (patch) | |
tree | d91215b57112e466624a98aa16e8ce00cd79d5bc /src/backend/executor/nodeModifyTable.c | |
parent | d7ec59a63d745ba74fba0e280bbf85dc6d1caa3e (diff) | |
download | postgresql-923a71584fd7efb5302cb8bf5a5bd417b531123f.tar.gz postgresql-923a71584fd7efb5302cb8bf5a5bd417b531123f.zip |
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
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions