pgsql: The session_replication_role actually can be changed at will

From: wieck(at)postgresql(dot)org (Jan Wieck)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: The session_replication_role actually can be changed at will
Date: 2007-06-05 20:00:42
Message-ID: 20070605200042.21DCD9FB60D@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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

Modified Files:
--------------
pgsql/src/backend/utils/cache:
plancache.c (r1.9 -> r1.10)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/cache/plancache.c.diff?r1=1.9&r2=1.10)
pgsql/src/backend/utils/misc:
guc.c (r1.393 -> r1.394)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/misc/guc.c.diff?r1=1.393&r2=1.394)
pgsql/src/include/utils:
plancache.h (r1.6 -> r1.7)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/utils/plancache.h.diff?r1=1.6&r2=1.7)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2007-06-05 21:31:09 pgsql: Downgrade implicit casts to text to be assignment-only, except
Previous Message Bernd Helmle 2007-06-05 15:20:10 Re: [COMMITTERS] pgsql: Create a GUC parametertemp_tablespacesthat allows selection of