The session_replication_role actually can be changed at will during

Jan Wieck <JanWieck@Yahoo.com>

Commit: 1120b99445a90ceba27f49e5cf86293f0628d06a
Author: Jan Wieck <JanWieck@Yahoo.com>
Date: 2007-06-05T20:00:41Z
Releases: 8.3.0
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

Files

PathChange+/−
src/backend/utils/cache/plancache.c modified +1 −12
src/backend/utils/misc/guc.c modified +10 −5
src/include/utils/plancache.h modified +1 −2