---------------- * NullCommand - tell dest that an empty query string was recognized * * This ensures that there will be a recognizable end to the response * to an Execute message in the extended query protocol. * ---------------- */
| 237 | * ---------------- |
| 238 | */ |
| 239 | void |
| 240 | NullCommand(CommandDest dest) |
| 241 | { |
| 242 | switch (dest) |
| 243 | { |
| 244 | case DestRemote: |
| 245 | case DestRemoteExecute: |
| 246 | case DestRemoteSimple: |
| 247 | |
| 248 | /* Tell the FE that we saw an empty query string */ |
| 249 | pq_putemptymessage('I'); |
| 250 | break; |
| 251 | |
| 252 | case DestNone: |
| 253 | case DestDebug: |
| 254 | case DestSPI: |
| 255 | case DestTuplestore: |
| 256 | case DestIntoRel: |
| 257 | case DestCopyOut: |
| 258 | case DestSQLFunction: |
| 259 | case DestTransientRel: |
| 260 | case DestTupleQueue: |
| 261 | case DestPersistentstore: |
| 262 | break; |
| 263 | } |
| 264 | } |
| 265 | |
| 266 | /* ---------------- |
| 267 | * ReadyForQuery - tell dest that we are ready for a new query |
no test coverage detected