Feike Steenbergen <feikesteenber...@gmail.com> writes: > pg_restore may have issues though, as it will run these functions > for GENERATED STORED columns?
pg_restore is already fairly exposed, as it will run tables' CHECK constraints, index expressions, etc. I don't think GENERATED STORED makes that picture much worse. As Robert said upthread, it would be nice to make all this more secure. But it'd presumably involve user-visible semantics changes along with the performance worries I mentioned. It's a dauntingly large task... regards, tom lane