From e3248f161ebd74ad9e96d6d51cb8abaab1a48e5a Mon Sep 17 00:00:00 2001 From: Christian Rocha Date: Fri, 30 Jun 2017 12:52:24 -0400 Subject: [PATCH] Add missing `pgx.Identifier` to `CopyFrom` example --- doc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc.go b/doc.go index f527d11d..566c7254 100644 --- a/doc.go +++ b/doc.go @@ -225,7 +225,7 @@ implement CopyFromSource to avoid buffering the entire data set in memory. } copyCount, err := conn.CopyFrom( - "people", + pgx.Identifier{"people"}, []string{"first_name", "last_name", "age"}, pgx.CopyFromRows(rows), )