diff options
author | Michael Paquier <michael@paquier.xyz> | 2022-12-23 11:27:18 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2022-12-23 11:27:18 +0900 |
commit | a2688c4e0329687ca5105b7647bbff6bbe33cca4 (patch) | |
tree | 00db510b227c6b9e00090f37d8772c66fa678948 /src/backend/executor/nodeAgg.c | |
parent | 7445869e1b0d369af9125c9db8196a3be3f44463 (diff) | |
download | postgresql-a2688c4e0329687ca5105b7647bbff6bbe33cca4.tar.gz postgresql-a2688c4e0329687ca5105b7647bbff6bbe33cca4.zip |
Fix some incorrectness in upgrade_adapt.sql on query for WITH OIDS
The query used to disable WITH OIDS in all the relations making use of
it was checking for materialized views, but this is not a supported
operation. On the contrary, this needs to be done on foreign tables.
While on it, use quote_ident() in the ALTER TABLE strings built on the
relation name.
Author: Anton A. Melnikov, Michael Paquier
Discussion: https://postgr.es/m/49f389ba-95ce-8a9b-09ae-f60650c0e7c7@inbox.ru
Backpatch-through: 12
Diffstat (limited to 'src/backend/executor/nodeAgg.c')
0 files changed, 0 insertions, 0 deletions