@@ -105,25 +105,25 @@ data AuthResponse
105
105
deriving (Show )
106
106
107
107
data ClientMessage
108
- = Bind PortalName StatementName
109
- Format -- parameter format code, one format for all
110
- (Vector ByteString ) -- the values of parameters, the empty string
108
+ = Bind ! PortalName ! StatementName
109
+ ! Format -- parameter format code, one format for all
110
+ ! (Vector ByteString ) -- the values of parameters, the empty string
111
111
-- is recognized as NULL
112
- Format -- to apply code to all result columns
112
+ ! Format -- to apply code to all result columns
113
113
-- Postgres use one command `close` for closing both statements and
114
114
-- portals, but we distinguish them
115
- | CloseStatement StatementName
116
- | ClosePortal PortalName
115
+ | CloseStatement ! StatementName
116
+ | ClosePortal ! PortalName
117
117
-- Postgres use one command `describe` for describing both statements
118
118
-- and portals, but we distinguish them
119
- | DescribeStatement StatementName
120
- | DescribePortal PortalName
121
- | Execute PortalName RowsToReceive
119
+ | DescribeStatement ! StatementName
120
+ | DescribePortal ! PortalName
121
+ | Execute ! PortalName ! RowsToReceive
122
122
| Flush
123
- | Parse StatementName StatementSQL (Vector Oid )
124
- | PasswordMessage PasswordText
123
+ | Parse ! StatementName ! StatementSQL ! (Vector Oid )
124
+ | PasswordMessage ! PasswordText
125
125
-- PostgreSQL names it `Query`
126
- | SimpleQuery StatementSQL
126
+ | SimpleQuery ! StatementSQL
127
127
| Sync
128
128
| Terminate
129
129
deriving (Show )
0 commit comments