Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ftzdn-00046B-73 for pgsql-docs@arkaria.postgresql.org; Sun, 26 Aug 2018 18:19:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ftzdk-0005Cq-U6 for pgsql-docs@arkaria.postgresql.org; Sun, 26 Aug 2018 18:19:56 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ftH3a-0004Mc-Ex for pgsql-docs@lists.postgresql.org; Fri, 24 Aug 2018 18:43:38 +0000 Received: from mail-pg1-x543.google.com ([2607:f8b0:4864:20::543]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ftH3X-0005nw-G2 for pgsql-docs@lists.postgresql.org; Fri, 24 Aug 2018 18:43:37 +0000 Received: by mail-pg1-x543.google.com with SMTP id z4-v6so4685150pgv.2 for ; Fri, 24 Aug 2018 11:43:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ojNcyhc8f0kIyLpAk/ykLifT2zcfhh3dstKKYIsVLOw=; b=UvG3xxMt/dF55oqqRhqLWLg23/JVZHuM4Q/4hMB2yeJTcCHCRpIUitCmfg3N6Scz8B mRmPSbF5KMfgR8KVd312fqgujboZQSO1VtOA6PQicwMDiOMmqX5wsGHZooPcEoEyPlIi lMjNf6FG9tP4DCe6oJeYG4pwk2BgxgoDlCne3c4mnenIHdItRELPSvM2toB/x6F2w5op 2h343ntTmS6FFP87cBdQDM9HmNXxtRRs9fPlvfNUzKZlqkl07UxHvlDcCetoBu5Zk0xk F01CBCzeVXUo6q1ek5Wxyu84PyNeGR2T/iV5kglEtaBF8wV0caiHPHxK0LnDT58PF/NZ rxIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ojNcyhc8f0kIyLpAk/ykLifT2zcfhh3dstKKYIsVLOw=; b=WgHs+NAOr5YSBdpgHnNyQU8gm8AF8CCpkpTlYzeXSEf/QHqA/UW9Yr8gMMdLAVBmBx zVvkM3ivRMDqiVvsUQPE8nPbCTg1832Wi/5S5rmmdzvg5a5YYHSZnahtw1SFkioP7gv0 MnBZa/FvVanxHOA+itOloryI4WskK++nY6y5li1DG5kt2TGh+tweakSeVTNDzAJfXRyQ 5dIv8X3ZhzRi0kUUH1HM7ub95+Pby3sBSz6Qv2kC8iaAYjMqT/rDvV576MF7xjCCcW7y kJh5hHh9iZa9RUhon+uqfStHrfqqMuZkZoSm1oMpbATrzUFY9SxiRGj7m1NbcAXt+mMU UUWg== X-Gm-Message-State: APzg51Ay0fLJQ0yvT6j0o5SLcZRvJin1mUpGtmJk5/zJb2IjkfWwvF/W lTKgaBQwHyeLpSgq2Ql6UC2Fw+2MEwq4nQQEr/g= X-Google-Smtp-Source: ANB0VdbWiDc63h0pL6Qmo6THnShePsqCTNQUaemtXv93FzT2zWMKcK1bLUtcoUpCIBs1mmyqx3M1aUrpMFuHoW4AOVY= X-Received: by 2002:a62:a216:: with SMTP id m22-v6mr3124693pff.163.1535136213993; Fri, 24 Aug 2018 11:43:33 -0700 (PDT) MIME-Version: 1.0 References: <153484305538.1370.7605856225879294548@wrigleys.postgresql.org> <20180824180523.GA18798@momjian.us> In-Reply-To: <20180824180523.GA18798@momjian.us> From: Adam Date: Fri, 24 Aug 2018 20:43:21 +0200 Message-ID: Subject: Re: Global dict name is listed inconsistently To: Bruce Momjian Cc: abgans+postgres@gmail.com, pgsql-docs@lists.postgresql.org Content-Type: multipart/alternative; boundary="000000000000b78fdf057432c014" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --000000000000b78fdf057432c014 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Yes, it does, thank you. Now it's clear why there are two different names. Best regards, Adam Biela=C5=84ski pt., 24 sie 2018, 20:05 u=C5=BCytkownik Bruce Momjian na= pisa=C5=82: > 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 fr= om > > myfunc are not available to myfunc2. The exception is the data in the G= D > > dictionary, as mentioned above." Note that the global dictionary is nam= ed > > "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 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 + > --000000000000b78fdf057432c014 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Yes, it does, thank you.

Now it's clear why there are two different names.=C2=A0

Best regards,=C2=A0
<= div dir=3D"auto">
Adam Biela=C5=84ski=C2=A0

pt., 24 sie 2018, 20= :05 u=C5=BCytkownik Bruce Momjian <b= ruce@momjian.us> napisa=C5=82:
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.pos= tgresql.org/docs/10/static/plpython-sharing.html
> Description:
>
> Page https://www.post= gresql.org/docs/10/static/plpython-sharing.html=C2=A0 says:
> "The global dictionary SD is available to store data between func= tion
> calls." few lines lower it says: "global data and function a= rguments 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.=C2=A0 I have t= he
attached patch which modifies the documentation and clarifies this
issue.=C2=A0 Does it help you?

--
=C2=A0 Bruce Momjian=C2=A0 <bruce@momjian.us>=C2=A0 =C2=A0 =C2=A0= =C2=A0 http://momjian.us
=C2=A0 EnterpriseDB=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0http://enterprised= b.com

+ As you are, so once was I.=C2=A0 As I am, so you will be. +
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 Ancient Roman grave inscription +
--000000000000b78fdf057432c014--