Skip to content

Commit a6ca9c2

Browse files
committed
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
1 parent 8ecdefc commit a6ca9c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/src/sgml/plpython.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -768,9 +768,9 @@ SELECT * FROM multiout_simple_setof(3);
768768
<title>Sharing Data</title>
769769
<para>
770770
The global dictionary <varname>SD</varname> is available to store
771-
data between function calls. This variable is private static data.
771+
private data between repeated calls to the same function.
772772
The global dictionary <varname>GD</varname> is public data,
773-
available to all Python functions within a session. Use with
773+
that is available to all Python functions within a session; use with
774774
care.<indexterm><primary>global data</primary>
775775
<secondary>in PL/Python</secondary></indexterm>
776776
</para>

0 commit comments

Comments
 (0)