By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,178 Members | 987 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,178 IT Pros & Developers. It's quick & easy.

invalid command \

P: n/a
we runs PostgreSQL 7.3.4 on RedHat 9. I initialized dbcluster with
--locale=cs_CZ.UTF-8 and created database with --encoding=unicode. But
following script generates error:
-- -*- coding: iso-8859-2 -*-
set client_encoding to LATIN2;
create table t (txt text);
--inserted character is latin small letter r with caron, coded in iso 8859-2
insert into t values ('ř');
insert into t values ('\\@');
-- end of script
, generates
psql:test.sql:7: invalid command \
psql:test.sql:9: ERROR: parser: unterminated quoted string at or near "'
commit;" at character 52
.. I think this is a bug, because the script is syntactically OK and work
fine on database with server_encoding=latin2.

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to ma*******

Nov 12 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.