On 8/15/14 10:46 AM, Fujii Masao wrote: > At last, the big question is, is there really no OS command which provides > the same functionality as pg_copy does? If there is, I'd like to avoid > duplicate > work basically.
If you look hard enough, you can maybe find an OS command that can fsync a file after it was copied. Some versions of dd can do that, and some systems have an fsync program. But it's not clear whether all systems have that, and it probably won't be simple and consistent. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers