From 2c852e3e53c8e64b84f518ee2ab04509c3f29b95 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sat, 25 Aug 2018 11:52:29 -0400 Subject: [PATCH] docs: clarify plpython SD and GD dictionary behavior MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reported-by: Adam Bielański Discussion: https://postgr.es/m/153484305538.1370.7605856225879294548@wrigleys.postgresql.org Backpatch-through: 9.3 --- doc/src/sgml/plpython.sgml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/src/sgml/plpython.sgml b/doc/src/sgml/plpython.sgml index d086ddf6ca..60a5907464 100644 --- a/doc/src/sgml/plpython.sgml +++ b/doc/src/sgml/plpython.sgml @@ -768,9 +768,9 @@ SELECT * FROM multiout_simple_setof(3); Sharing Data The global dictionary SD is available to store - data between function calls. This variable is private static data. + private data between repeated calls to the same function. The global dictionary GD is public data, - available to all Python functions within a session. Use with + that is available to all Python functions within a session; use with care.global data in PL/Python -- 2.40.0