From: Bruce Momjian Date: Sat, 25 Aug 2018 15:52:29 +0000 (-0400) Subject: docs: clarify plpython SD and GD dictionary behavior X-Git-Tag: REL9_3_25~59 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=96e578b6c89f8532fe723bce45f78b558bd6bcca;p=thirdparty%2Fpostgresql.git 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 --- diff --git a/doc/src/sgml/plpython.sgml b/doc/src/sgml/plpython.sgml index 98f5ed3ec07..3019235fcb4 100644 --- a/doc/src/sgml/plpython.sgml +++ b/doc/src/sgml/plpython.sgml @@ -720,9 +720,9 @@ SELECT * FROM multiout_simple_setof(3); Sharing Data The global dictionary SD 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 GD 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.global data in PL/Python