Skip to content

Commit 3c74f7a

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 6c5ed68 commit 3c74f7a

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
@@ -730,9 +730,9 @@ SELECT * FROM multiout_simple_setof(3);
730730
<title>Sharing Data</title>
731731
<para>
732732
The global dictionary <varname>SD</varname> is available to store
733-
data between function calls. This variable is private static data.
733+
private data between repeated calls to the same function.
734734
The global dictionary <varname>GD</varname> is public data,
735-
available to all Python functions within a session. Use with
735+
that is available to all Python functions within a session; use with
736736
care.<indexterm><primary>global data</>
737737
<secondary>in PL/Python</></indexterm>
738738
</para>

0 commit comments

Comments
 (0)