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-19T04:20:49Z
Lists: pgsql-docs
On Wed, Sep 18, 2019 at 10:49:14AM +0900, Michael Paquier wrote:
> 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?

Actually, looking around we use connection_name for other commands
like EXEC SQL or DISCONNECT, so renaming connection_object to
connection_name makes the documentation more consistent.  And done.
--
Michael

Commits

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