Search Postgresql Archives

how to escape back-slash mark.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi, all

The PostgreSQL has a option: backslash_quote.
It can be on, off or safe_encoding.
How to set it to ingore back-slash check?

The command: INSERT INTO table_name VALUES(..., '\\', ...);
always get a warning message whatever it is.

If use E'\\', value will be saved as '\' in database.
Has a approach to let PostgreSQL conside back-slash as common char?

Regards.

-----------------------------------------------
Quan Zongliang
quanzongliang@xxxxxxxxx
CIT JAPAN: http://www.cit.co.jp
CIT CHINA: http://www.citbj.com.cn


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux