On Tue, Jan 21, 2025 at 03:23:31PM -0500, Tom Lane wrote: > Bruce Momjian <br...@momjian.us> writes: > > I did write a patch in Novemer 2023 to pass the dimension to the layers > > that needed it, but it was considered too much code compared to its > > value: > > https://www.postgresql.org/message-id/zvwi_ozt8z9mc...@momjian.us > > Ah, I'd forgotten that discussion. It looks like the main differences > between your patch and mine are > > (1) you did nothing about getting a nonzero attndims value for views > and CREATE TABLE AS cases. > > (2) you found a way to get pg_dump to preserve attndims, which you > then also applied to psql's \d.
Yes, I was more focused on perserving the value, rather than computing zero/non-zero from the data type. -- Bruce Momjian <br...@momjian.us> https://momjian.us EDB https://enterprisedb.com Do not let urgent matters crowd out time for investment in the future.