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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 6f1be5a) | patch
Rethink behavior of CREATE OR REPLACE during CREATE EXTENSION.
2011年7月23日 20:59:39 +0000 (16:59 -0400)
2011年7月23日 20:59:39 +0000 (16:59 -0400)
commit 988cccc620dd8c16d77f88ede167b22056176324
Rethink behavior of CREATE OR REPLACE during CREATE EXTENSION.

The original implementation simply did nothing when replacing an existing
object during CREATE EXTENSION. The folly of this was exposed by a report
from Marc Munro: if the existing object belongs to another extension, we
are left in an inconsistent state. We should insist that the object does
not belong to another extension, and then add it to the current extension
if not already a member.
14 files changed:
src/backend/catalog/heap.c diff | blob | blame | history
src/backend/catalog/pg_collation.c diff | blob | blame | history
src/backend/catalog/pg_conversion.c diff | blob | blame | history
src/backend/catalog/pg_depend.c diff | blob | blame | history
src/backend/catalog/pg_namespace.c diff | blob | blame | history
src/backend/catalog/pg_operator.c diff | blob | blame | history
src/backend/catalog/pg_proc.c diff | blob | blame | history
src/backend/catalog/pg_type.c diff | blob | blame | history
src/backend/commands/foreigncmds.c diff | blob | blame | history
src/backend/commands/functioncmds.c diff | blob | blame | history
src/backend/commands/opclasscmds.c diff | blob | blame | history
src/backend/commands/proclang.c diff | blob | blame | history
src/backend/commands/tsearchcmds.c diff | blob | blame | history
src/include/catalog/dependency.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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