* PQendcopy * After completing the data transfer portion of a copy in/out, * the application must call this routine to finish the command protocol. * * This is deprecated; it's cleaner to use PQgetResult to get the transfer * status. * * RETURNS: * 0 on success * 1 on failure */
| 2838 | * 1 on failure |
| 2839 | */ |
| 2840 | int |
| 2841 | PQendcopy(PGconn *conn) |
| 2842 | { |
| 2843 | if (!conn) |
| 2844 | return 0; |
| 2845 | |
| 2846 | return pqEndcopy3(conn); |
| 2847 | } |
| 2848 | |
| 2849 | |
| 2850 | /* ---------------- |
no test coverage detected