Aaron Birkland <[EMAIL PROTECTED]> writes: > In a nutshell, it looks like whenever COPY is invoked, and when a user > defined type is used in an array, then stat64() will be called for > each row accessed on the shared library relevant for the user defined > type.
Let me guess ... PG 7.3 or older? 7.4 should avoid the problem because array_in() caches function lookup information for the element type's input function across multiple calls. In 8.0 there's also a cache at the fmgr_info() level to eliminate repeated searches for a dynamically loaded function. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])