From 27b90681e860cb2cc7de8c777a51850f3587f32e Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Thu, 2 Feb 2017 19:30:26 -0600 Subject: [PATCH] Fix find-and-replace errors --- value_reader.go | 2 +- values.go | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/value_reader.go b/value_reader.go index fb036dd6..a4897543 100644 --- a/value_reader.go +++ b/value_reader.go @@ -17,7 +17,7 @@ func (r *ValueReader) Err() error { return r.err } -// Fatal tells rc that a Fatal error has occurred +// Fatal tells r that a Fatal error has occurred func (r *ValueReader) Fatal(err error) { r.err = err } diff --git a/values.go b/values.go index bd912020..b4466b82 100644 --- a/values.go +++ b/values.go @@ -129,9 +129,9 @@ func (e SerializationError) Error() string { // Scanner is an interface used to decode values from the PostgreSQL server. type Scanner interface { - // Scan MUST check rc.Type().DataType (to check by OID) or - // rc.Type().DataTypeName (to check by name) to ensure that it is scanning an - // expected column type. It also MUST check rc.Type().FormatCode before + // Scan MUST check r.Type().DataType (to check by OID) or + // r.Type().DataTypeName (to check by name) to ensure that it is scanning an + // expected column type. It also MUST check r.Type().FormatCode before // decoding. It should not assume that it was called on a data type or format // that it understands. Scan(r *ValueReader) error @@ -3167,7 +3167,7 @@ func parseQuotedAclItem(reader *strings.Reader) (AclItem, error) { } } -// Returns the next rune from rc, unless it is a backslash; +// Returns the next rune from r, unless it is a backslash; // in that case, it returns the rune after the backslash. The second // return value tells us whether or not the rune was // preceeded by a backslash (escaped).