aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2018-08-25 11:52:29 -0400
committerBruce Momjian <bruce@momjian.us>2018-08-25 11:52:29 -0400
commit9de7ae32cfea40e16b9e53523aa4f94f17fa2881 (patch)
treef70af76467e8cbca174af0baf91ec52bc662ca6c /doc/src
parentd64fad6669926c95f1a2e49ebec58ed4412be1a0 (diff)
downloadpostgresql-9de7ae32cfea40e16b9e53523aa4f94f17fa2881.tar.gz
postgresql-9de7ae32cfea40e16b9e53523aa4f94f17fa2881.zip
docs: clarify plpython SD and GD dictionary behavior
Reported-by: Adam BielaƄski Discussion: https://postgr.es/m/153484305538.1370.7605856225879294548@wrigleys.postgresql.org Backpatch-through: 9.3
Diffstat (limited to 'doc/src')
-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 777a7ef780f..c84e93a8f89 100644
--- a/doc/src/sgml/plpython.sgml
+++ b/doc/src/sgml/plpython.sgml
@@ -753,9 +753,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</>
<secondary>in PL/Python</></indexterm>
</para>