mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-13 21:29:36 +02:00
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
This commit is contained in:
parent
5ec70a9286
commit
06d47f6dc6
@ -734,9 +734,9 @@ SELECT * FROM multiout_simple_setof(3);
|
|||||||
<title>Sharing Data</title>
|
<title>Sharing Data</title>
|
||||||
<para>
|
<para>
|
||||||
The global dictionary <varname>SD</varname> is available to store
|
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,
|
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</>
|
care.<indexterm><primary>global data</>
|
||||||
<secondary>in PL/Python</></indexterm>
|
<secondary>in PL/Python</></indexterm>
|
||||||
</para>
|
</para>
|
||||||
|
Loading…
Reference in New Issue
Block a user