Entering a character code in a query

Поиск
Список
Период
Сортировка
От John Gage
Тема Entering a character code in a query
Дата
Msg-id BAB4EE58-D8D3-4CF8-9524-F80B76DDE521@numericable.fr
обсуждение исходный текст
Ответы Re: Entering a character code in a query
Список pgsql-general
I would like to use the following query:

SELECT english || '\n' || english || '\x2028' || french AS output FROM vocab_words_translated;

where \x2028 is the hexadecimal code for a soft carriage return.

However, this does not work.

Can anyone help with this problem?

Thanking you,

John

Pertinent codes:

2028 LINE SEPARATOR * may be used to represent this semantic unambiguously
U+2028, character 
‬, decimal 8232, hex 0x2028, octal \20050, binary 10000000101000UTF-8: 0xe2 0x80 0xa8 

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: obsessive-compulsive vacuum behavior
Следующее
От: Brad Nicholson
Дата:
Сообщение: 8.3.10 Changes