Re: Global dict name is listed inconsistently

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: abgans+postgres(at)gmail(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Global dict name is listed inconsistently
Date: 2018-08-24 18:05:23
Message-ID: 20180824180523.GA18798@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Tue, Aug 21, 2018 at 09:17:35AM +0000, PG Doc comments form wrote:
> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/10/static/plpython-sharing.html
> Description:
>
> Page https://www.postgresql.org/docs/10/static/plpython-sharing.html says:
> "The global dictionary SD is available to store data between function
> calls." few lines lower it says: "global data and function arguments from
> myfunc are not available to myfunc2. The exception is the data in the GD
> dictionary, as mentioned above." Note that the global dictionary is named
> "SD" in the first quote and "GD" in the second one.
>
> Please correct either first or second sentence.

Well, the documentation is correct, but obviously not clear. I have the
attached patch which modifies the documentation and clarifies this
issue. Does it help you?

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ As you are, so once was I. As I am, so you will be. +
+ Ancient Roman grave inscription +

Attachment Content-Type Size
plpython.diff text/x-diff 1.1 KB

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Adam 2018-08-24 18:43:21 Re: Global dict name is listed inconsistently
Previous Message Bradley DeJong 2018-08-24 15:43:28 Re: Enhancing protocol.sgml