2
0
This commit is contained in:
Jack Christensen
2013-04-11 21:12:02 -05:00
parent 431b44eefe
commit 7683e5cfa7
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -204,7 +204,7 @@ func (c *conn) rxErrorResponse(r *messageReader) (err PgError) {
case 0: // End of error message
return
default: // Ignore other error fields
r.readString();
r.readString()
}
}
+3 -3
View File
@@ -15,7 +15,7 @@ const (
rowDescription = 'T'
dataRow = 'D'
commandComplete = 'C'
errorResponse = 'E'
errorResponse = 'E'
)
type startupMessage struct {
@@ -54,8 +54,8 @@ type fieldDescription struct {
type PgError struct {
Severity string
Code string
Message string
Code string
Message string
}
func (self PgError) Error() string {