postgresql/src/include/commands
Michael Paquier e3a25ab9ea Refactor relation opening for VACUUM and ANALYZE
VACUUM and ANALYZE share similar logic when it comes to opening a
relation to work on in terms of how the relation is opened, in which
order locks are tried and how logs should be generated when something
does not work as expected.

This commit refactors things so as both use the same code path to handle
the way a relation is opened, so as the integration of new options
becomes easier.

Author: Michael Paquier
Reviewed-by: Nathan Bossart
Discussion: https://postgr.es/m/20180927075152.GT1659@paquier.xyz
2018-10-02 08:53:38 +09:00
..
alter.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
async.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
cluster.h Refactor cluster_rel() to handle more options 2018-07-24 11:37:32 +09:00
collationcmds.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
comment.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
conversioncmds.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
copy.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
createas.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
dbcommands.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
dbcommands_xlog.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
defrem.h Fully enforce uniqueness of constraint names. 2018-09-04 13:45:35 -04:00
discard.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
event_trigger.h Replace GrantObjectType with ObjectType 2018-01-19 14:01:14 -05:00
explain.h Collect JIT instrumentation from workers. 2018-09-25 13:12:44 -07:00
extension.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
lockcmds.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
matview.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
policy.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
portalcmds.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
prepare.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
proclang.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
progress.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
publicationcmds.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
schemacmds.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
seclabel.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
sequence.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
subscriptioncmds.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
tablecmds.h Post-feature-freeze pgindent run. 2018-04-26 14:47:16 -04:00
tablespace.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
trigger.h Allow using the updated tuple while moving it to a different partition. 2018-07-12 12:51:39 +05:30
typecmds.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
user.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
vacuum.h Refactor relation opening for VACUUM and ANALYZE 2018-10-02 08:53:38 +09:00
variable.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
view.h Update copyright for 2018 2018-01-02 23:30:12 -05:00