class PG::Connection

def put_copy_end(*args)

is in nonblocking mode, and this command would block).
not sent (*false* is only possible if the connection
Returns true if the end-of-data was sent, #false* if it was

_error_message_.
forces the COPY command to fail with the string
_error_message_ is an optional parameter, and if set,

Sends end-of-data indication to the server.

conn.put_copy_end( [ error_message ] ) -> Boolean
call-seq:
def put_copy_end(*args)
	until sync_put_copy_end(*args)
		flush
	end
	@calls_to_put_copy_data = 0
	flush
end