@@ -53,17 +53,9 @@ function Backend({
53
53
54
54
return backend
55
55
56
- function ParseComplete ( ) {
57
- // No handling needed
58
- }
59
-
60
- function BindComplete ( ) {
61
- // No handling needed
62
- }
63
-
64
- function CloseComplete ( ) {
65
- // No handling needed
66
- }
56
+ function ParseComplete ( ) { /* No handling needed */ }
57
+ function BindComplete ( ) { /* No handling needed */ }
58
+ function CloseComplete ( ) { /* No handling needed */ }
67
59
68
60
function NotificationResponse ( x ) {
69
61
if ( ! onnotify )
@@ -96,9 +88,7 @@ function Backend({
96
88
)
97
89
}
98
90
99
- function CopyDone ( x ) {
100
- // No handling needed
101
- }
91
+ function CopyDone ( x ) { /* No handling needed */ }
102
92
103
93
function DataRow ( x ) {
104
94
let index = 7
@@ -125,9 +115,7 @@ function Backend({
125
115
: backend . query . result . push ( row )
126
116
}
127
117
128
- function CopyData ( x ) {
129
- // No handling needed until implemented
130
- }
118
+ function CopyData ( x ) { /* No handling needed until implemented */ }
131
119
132
120
function ErrorResponse ( x ) {
133
121
reject ( errors . generic ( error ( x ) ) )
@@ -141,9 +129,7 @@ function Backend({
141
129
reject ( errors . notSupported ( 'CopyOutResponse' ) )
142
130
}
143
131
144
- function EmptyQueryResponse ( ) {
145
- // No handling needed
146
- }
132
+ function EmptyQueryResponse ( ) { /* No handling needed */ }
147
133
148
134
function BackendKeyData ( x ) {
149
135
state . pid = x . readInt32BE ( 5 )
@@ -156,9 +142,7 @@ function Backend({
156
142
: console . log ( error ( x ) )
157
143
}
158
144
159
- function NoData ( x ) {
160
- // No handling needed
161
- }
145
+ function NoData ( x ) { /* No handling needed */ }
162
146
163
147
function Authentication ( x ) {
164
148
const type = x . readInt32BE ( 5 )
0 commit comments