Re: Is it typo of connection_name?

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: egashira.yusuke@jp.fujitsu.com, pgsql-docs@lists.postgresql.org
Date: 2019-09-18T01:49:14Z
Lists: pgsql-docs
On Tue, Sep 17, 2019 at 08:39:27AM +0000, PG Doc comments form wrote:
> The "connection_name" parameter's explanation is not in Parameters
> section.
> Instead of it, "connection_object" parameter is in Parameters section. Its
> explanation seems about "connection_name".
> Is it typo about "connection_name" in Synopsis section, or
> "connection_object" in Parameters section?

Good catch.  If you look at the code (ecpg.trailer), connection_object
refers to the name of the parameter, while connection_name refers to
"AS connection_object" as a whole.  So it seems to me that the
intention is to use connection_object in the synopsis of the docs.
Any thoughts from others?
--
Michael

Commits

  1. Doc: Fix incorrect mention to connection_object in CONNECT command of ECPG