diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2019-12-11 08:59:18 +0100 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2019-12-11 09:04:04 +0100 |
commit | 105eb360f2513523d221302b2d52880a14afae34 (patch) | |
tree | 07df1dadd37a43c4ac4e55a27f38f615a787c04f /src/backend/executor/execParallel.c | |
parent | b802412106e82ccf1aef36a4984e321082c122cb (diff) | |
download | postgresql-105eb360f2513523d221302b2d52880a14afae34.tar.gz postgresql-105eb360f2513523d221302b2d52880a14afae34.zip |
Remove ATPrepSetStatistics
It was once possible to do ALTER TABLE ... SET STATISTICS on system
tables without allow_sytem_table_mods. This was changed apparently by
accident between PostgreSQL 9.1 and 9.2, but a code comment still
claimed this was possible. Without that functionality, having a
separate ATPrepSetStatistics() is useless, so use the generic
ATSimplePermissions() instead and move the remaining custom code into
ATExecSetStatistics().
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/flat/cc8d2648-a0ec-7a86-13e5-db473484e19e%402ndquadrant.com
Diffstat (limited to 'src/backend/executor/execParallel.c')
0 files changed, 0 insertions, 0 deletions