postgresql/src/backend/commands
Simon Riggs 47167b7907 Reduce lock levels for ALTER TABLE SET autovacuum storage options
Reduce lock levels down to ShareUpdateExclusiveLock for all autovacuum-related
relation options when setting them using ALTER TABLE.

Add infrastructure to allow varying lock levels for relation options in later
patches. Setting multiple options together uses the highest lock level required
for any option. Works for both main and toast tables.

Fabrízio Mello, reviewed by Michael Paquier, mild edit and additional regression
tests from myself
2015-08-14 14:19:28 +01:00
..
aggregatecmds.c Change many routines to return ObjectAddress rather than OID 2015-03-03 14:10:50 -03:00
alter.c Remove variable shadowing 2015-04-07 17:14:00 -03:00
analyze.c pgindent run for 9.5 2015-05-23 21:35:49 -04:00
async.c Add new function pg_notification_queue_usage. 2015-07-17 09:12:03 -04:00
cluster.c Support VERBOSE option in REINDEX command. 2015-05-15 20:09:57 +09:00
collationcmds.c Change many routines to return ObjectAddress rather than OID 2015-03-03 14:10:50 -03:00
comment.c Change many routines to return ObjectAddress rather than OID 2015-03-03 14:10:50 -03:00
constraint.c Fix incorrect checking of deferred exclusion constraint after a HOT update. 2015-05-11 12:25:43 -04:00
conversioncmds.c Change many routines to return ObjectAddress rather than OID 2015-03-03 14:10:50 -03:00
copy.c Fix a number of places that produced XX000 errors in the regression tests. 2015-08-02 23:49:19 -04:00
createas.c pgindent run for 9.5 2015-05-23 21:35:49 -04:00
dbcommands.c pgindent run for 9.5 2015-05-23 21:35:49 -04:00
define.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
discard.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
dropcmds.c pgindent run for 9.5 2015-05-23 21:35:49 -04:00
event_trigger.c Fix omission of OCLASS_TRANSFORM in object_classes[] 2015-07-21 13:20:53 +02:00
explain.c Redesign tablesample method API, and do extensive code review. 2015-07-25 14:39:00 -04:00
extension.c Add missing_ok option to the SQL functions for reading files. 2015-06-28 21:35:46 +03:00
foreigncmds.c Avoid passing NULL to memcmp() in lookups of zero-argument functions. 2015-06-27 17:47:39 -04:00
functioncmds.c Fix DDL command collection for TRANSFORM 2015-06-26 18:17:54 -03:00
indexcmds.c Don't warn about creating temporary or unlogged hash indexes. 2015-06-26 11:37:32 -04:00
lockcmds.c Allow LOCK TABLE .. ROW EXCLUSIVE MODE with INSERT 2015-05-11 15:44:12 -04:00
Makefile Row-Level Security Policies (RLS) 2014-09-19 11:18:35 -04:00
matview.c pgindent run for 9.5 2015-05-23 21:35:49 -04:00
opclasscmds.c Allow on-the-fly capture of DDL event details 2015-05-11 19:14:31 -03:00
operatorcmds.c Fix event trigger support for the new ALTER OPERATOR command. 2015-07-14 19:50:18 +03:00
policy.c Create new ParseExprKind for use by policy expressions. 2015-07-29 15:40:24 -07:00
portalcmds.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
prepare.c Use FLEXIBLE_ARRAY_MEMBER in a bunch more places. 2015-02-20 00:11:42 -05:00
proclang.c Add transforms feature 2015-04-26 10:33:14 -04:00
schemacmds.c pgindent run for 9.5 2015-05-23 21:35:49 -04:00
seclabel.c Revert "Change pg_seclabel.provider and pg_shseclabel.provider to type "name"." 2015-05-19 10:40:04 -04:00
sequence.c pgindent run for 9.5 2015-05-23 21:35:49 -04:00
tablecmds.c Reduce lock levels for ALTER TABLE SET autovacuum storage options 2015-08-14 14:19:28 +01:00
tablespace.c Be more conservative about removing tablespace "symlinks". 2015-06-26 15:53:13 -04:00
trigger.c pgindent run for 9.5 2015-05-23 21:35:49 -04:00
tsearchcmds.c Allow on-the-fly capture of DDL event details 2015-05-11 19:14:31 -03:00
typecmds.c pgindent run for 9.5 2015-05-23 21:35:49 -04:00
user.c Don't handle PUBLIC/NONE separately 2015-07-20 18:47:15 +02:00
vacuum.c Fix a number of places that produced XX000 errors in the regression tests. 2015-08-02 23:49:19 -04:00
vacuumlazy.c pgindent run for 9.5 2015-05-23 21:35:49 -04:00
variable.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
view.c Require non-NULL pstate for all addRangeTableEntryFor* functions. 2015-03-11 15:26:43 -04:00