Philip Warner <pjw(at)rhyme(dot)com(dot)au> writes:
>> If someone goes there and fixes the code, maybe the code could be optimized
>> not to put any COPY at all for a table if it is empty?
> Maybe for 7.2.
A copy supplying no data isn't going to take a significant amount of
time. I don't think this is worth worrying about.
regards, tom lane