Re: about the copy command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yue Wang wrote:
> I read this http://www.postgresql.org/docs/8.4/static/libpq-copy.html
> I want to send the copy command and then send the data directly. the server don't send the
> PGRES_COPY_IN to the client.
> 
> While receive the copy in command, the server already know how to do. so the server begin to receive
> data directly.
> 
> While receive the copy to command, the server already know how to do. so the server begin to send data
> directly. And the client receive data directly.
> 
> So I want to delete the send of PGRES_COPY_IN or PGRES_COPY_OUT.

Why?  What do you want to achieve?

You have to wait for the server's reply that tells you that the server is
ready to receive the data.

What if there is an syntax error in your COPY command?

Yours,
Laurenz Albe

-- 
Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin





[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux