diff options
author | Bruce Momjian <bruce@momjian.us> | 2018-08-25 11:52:29 -0400 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2018-08-25 11:52:29 -0400 |
commit | 028f855845a5dde3d44ac02dc27a3c6b14dad01e (patch) | |
tree | 04ecbfcd5c813f2a137fec9a4e10663fd6b21e29 | |
parent | af988d13012f899631d41ab5120e36d8069b1444 (diff) | |
download | postgresql-028f855845a5dde3d44ac02dc27a3c6b14dad01e.tar.gz postgresql-028f855845a5dde3d44ac02dc27a3c6b14dad01e.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
-rw-r--r-- | doc/src/sgml/plpython.sgml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/plpython.sgml b/doc/src/sgml/plpython.sgml index 015bbad8dda..bb681bb23c5 100644 --- a/doc/src/sgml/plpython.sgml +++ b/doc/src/sgml/plpython.sgml @@ -734,9 +734,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> |