* Dana Hudes: > When you say "control characters" do you mean octal escaped > sequences lilke \003 or do you mean you have a string with an ASCII > 003 embedded in it? You should use former not latter.
quotemeta("\003") results in "\\\cC", which is interpreted by PostgreSQL as '\cC', a different string. -- Florian Weimer <fwei...@bfk.de> BFK edv-consulting GmbH http://www.bfk.de/ Kriegsstraße 100 tel: +49-721-96201-1 D-76133 Karlsruhe fax: +49-721-96201-99