summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2018-08-25 15:52:30 +0000
committerBruce Momjian2018-08-25 15:52:30 +0000
commita6ca9c2a1bd0d57e8f359504e91ee0208f65ed58 (patch)
treea1c0a6ec9c8953e12a96beb6c94c2eb8a27b39e4
parent8ecdefc261abbd35d6280cdd8fd749e83c3fd199 (diff)
docs: clarify plpython SD and GD dictionary behavior
Reported-by: Adam BielaƄski Discussion: https://postgr.es/m/[email protected] Backpatch-through: 9.3
-rw-r--r--doc/src/sgml/plpython.sgml4
1 files 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);
<title>Sharing Data</title>
<para>
The global dictionary <varname>SD</varname> 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 <varname>GD</varname> 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.<indexterm><primary>global data</primary>
<secondary>in PL/Python</secondary></indexterm>
</para>