]> granicus.if.org Git - postgresql/commit
The session_replication_role actually can be changed at will during
authorJan Wieck <JanWieck@Yahoo.com>
Tue, 5 Jun 2007 20:00:41 +0000 (20:00 +0000)
committerJan Wieck <JanWieck@Yahoo.com>
Tue, 5 Jun 2007 20:00:41 +0000 (20:00 +0000)
commit1120b99445a90ceba27f49e5cf86293f0628d06a
tree59c3c2464aaa4baa017512463d4c46a0778f1bc6
parentf74426283d9a5d889c310e3844ef850622203d7e
The session_replication_role actually can be changed at will during
a session regardless of the existence of cached plans. The plancache
only needs to be invalidated so that rules affected by the new setting
will be reflected in the new query plans.

Jan
src/backend/utils/cache/plancache.c
src/backend/utils/misc/guc.c
src/include/utils/plancache.h