diff options
author | Robert Haas <rhaas@postgresql.org> | 2011-04-13 19:20:39 -0700 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2011-04-13 19:20:39 -0700 |
commit | 0c80b57d0775eb2015b7672fd8b20c63846d2a0d (patch) | |
tree | d5f47e09b768e98773124ef1f6b1914c08760174 | |
parent | 39a68e5c6ca7b41b889e773ca58535324af69630 (diff) | |
download | postgresql-0c80b57d0775eb2015b7672fd8b20c63846d2a0d.tar.gz postgresql-0c80b57d0775eb2015b7672fd8b20c63846d2a0d.zip |
Remove obsolete comment.
The lock level for adding a parent table is now ShareUpdateExclusiveLock;
see commit fbcf4b92aa64d4577bcf25925b055316b978744a. This comment didn't
get updated to match, but it doesn't seem important to mention this detail
here, so rather than updating it now, just take it out.
-rw-r--r-- | src/backend/commands/tablecmds.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/backend/commands/tablecmds.c b/src/backend/commands/tablecmds.c index d3692754959..fb39006e15f 100644 --- a/src/backend/commands/tablecmds.c +++ b/src/backend/commands/tablecmds.c @@ -2676,8 +2676,7 @@ AlterTableGetLockLevel(List *cmds) * started before us will continue to see the old inheritance * behaviour, while queries started after we commit will see * new behaviour. No need to prevent reads or writes to the - * subtable while we hook it up though. In both cases the - * parent table is locked with AccessShareLock. + * subtable while we hook it up though. */ case AT_AddInherit: case AT_DropInherit: |