handleCopyData handles the COPY DATA message, by loading the data sent from the client. The |stop| response parameter is true if the connection handler should shut down the connection, |endOfMessages| is true if no more COPY DATA messages are expected, and the server should tell the client that it i
(message *pgproto3.CopyData)
| 793 | } |
| 794 | |
| 795 | return &pgproto3.CommandComplete{ |
| 796 | CommandTag: []byte(tag), |
| 797 | } |
| 798 | } |
| 799 | |
| 800 | // handleCopyData handles the COPY DATA message, by loading the data sent from the client. The |stop| response parameter |
| 801 | // is true if the connection handler should shut down the connection, |endOfMessages| is true if no more COPY DATA |
| 802 | // messages are expected, and the server should tell the client that it is ready for the next query, and |err| contains |
| 803 | // any error that occurred while processing the COPY DATA message. |
| 804 | func (h *ConnectionHandler) handleCopyData(message *pgproto3.CopyData) (stop bool, endOfMessages bool, err error) { |
no test coverage detected