Neil Conway <neilc(at)samurai(dot)com> writes:
> Do we actually need this functionality inside the
> DBMS in the first place?
I think that is the $64 question. My immediate instinct is "no".
See the knock-down-drag-out fights we had last summer about whether
to expose any filesystem access in built-in standard functions at all.
There will be what the Supreme Court would call "strict scrutiny"
concerning the need for this, possible security risks, etc.
regards, tom lane