Dino Vliet <dino_vliet(at)yahoo(dot)com> writes:
> In my pl/pgsql procedure I have the following line:
> execute 'copy cancella to ' || location || ' with
> delimiter as \',\'';
quote_literal(location) would work much better and more safely.
regards, tom lane