Dino Vliet <dino_vliet@xxxxxxxxx> 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