From 7954a36b2db89234ce9256fff406409330948f5b Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Fri, 20 May 2016 08:16:28 -0500 Subject: [PATCH] Tweak Prepare docs --- conn.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conn.go b/conn.go index 61cd495c..276a316d 100644 --- a/conn.go +++ b/conn.go @@ -585,7 +585,7 @@ func configSSL(sslmode string, cc *ConnConfig) error { // for bound parameters. These placeholders are referenced positional as $1, $2, etc. // // Prepare is idempotent; i.e. it is safe to call Prepare multiple times with the same -// name and sql arguments. This allows a code path to Prepare and Query/Exec/PrepareEx without +// name and sql arguments. This allows a code path to Prepare and Query/Exec without // concern for if the statement has already been prepared. func (c *Conn) Prepare(name, sql string) (ps *PreparedStatement, err error) { if name != "" { @@ -671,7 +671,7 @@ func (c *Conn) Prepare(name, sql string) (ps *PreparedStatement, err error) { // It defers from Prepare as it allows additional options (such as parameter OIDs) to be passed via struct // // PrepareEx is idempotent; i.e. it is safe to call PrepareEx multiple times with the same -// name and sql arguments. This allows a code path to PrepareEx and Query/Exec/Prepare without +// name and sql arguments. This allows a code path to PrepareEx and Query/Exec without // concern for if the statement has already been prepared. func (c *Conn) PrepareEx(name, sql string, opts PrepareExOptions) (ps *PreparedStatement, err error) { if name != "" {