git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 80a5cf6) | patch
Reduce lock levels of some ALTER TABLE cmds
Sun, 6 Apr 2014 15:13:43 +0000 (11:13 -0400)
Sun, 6 Apr 2014 15:13:43 +0000 (11:13 -0400)
commit e5550d5fec66aa74caad1f79b79826ec64898688
Reduce lock levels of some ALTER TABLE cmds

VALIDATE CONSTRAINT

CLUSTER ON
SET WITHOUT CLUSTER

ALTER COLUMN SET STATISTICS
ALTER COLUMN SET ()
ALTER COLUMN RESET ()

All other sub-commands use AccessExclusiveLock

Simon Riggs and Noah Misch

Reviews by Robert Haas and Andres Freund
13 files changed:
doc/src/sgml/mvcc.sgml diff | blob | blame | history
doc/src/sgml/ref/alter_table.sgml diff | blob | blame | history
src/backend/catalog/toasting.c diff | blob | blame | history
src/backend/commands/cluster.c diff | blob | blame | history
src/backend/commands/createas.c diff | blob | blame | history
src/backend/commands/tablecmds.c diff | blob | blame | history
src/backend/tcop/utility.c diff | blob | blame | history
src/backend/utils/adt/ruleutils.c diff | blob | blame | history
src/backend/utils/cache/relcache.c diff | blob | blame | history
src/include/catalog/toasting.h diff | blob | blame | history
src/test/isolation/isolation_schedule diff | blob | blame | history
src/test/regress/expected/alter_table.out diff | blob | blame | history
src/test/regress/sql/alter_table.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /