Skip to content

Commit 9de7ae3

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 d64fad6 commit 9de7ae3

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
@@ -753,9 +753,9 @@ SELECT * FROM multiout_simple_setof(3);
753753
<title>Sharing Data</title>
754754
<para>
755755
The global dictionary <varname>SD</varname> is available to store
756-
data between function calls. This variable is private static data.
756+
private data between repeated calls to the same function.
757757
The global dictionary <varname>GD</varname> is public data,
758-
available to all Python functions within a session. Use with
758+
that is available to all Python functions within a session; use with
759759
care.<indexterm><primary>global data</>
760760
<secondary>in PL/Python</></indexterm>
761761
</para>

0 commit comments

Comments
 (0)