Greg Stark <[EMAIL PROTECTED]> writes: > Sorry to followup to my own message, but it occurs to me that COPY could be > made to automatically do this for the case of an empty destination table too.
Not unless you are proposing to change COPY to acquire a lock strong enough to lock out other writers to the table for the duration ... regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend