nvarchar notation accepted?

Поиск
Список
Период
Сортировка
От Jaime Casanova
Тема nvarchar notation accepted?
Дата
Msg-id AANLkTilm8PWD3RAiRiAn548h1Zv7Lb-HcB7n-Sbw0eJS@mail.gmail.com
обсуждение исходный текст
Ответы Re: nvarchar notation accepted?  (Takahiro Itagaki <itagaki.takahiro@oss.ntt.co.jp>)
Список pgsql-hackers
Hi,

i migrate a ms sql server database to postgres and was trying some
queries from the application to find if everything works right...
when i was looking to those queries i found some that has a notation
for nvarchar (ej: campo = N'sometext')
i was expecting those to fail but this actually works, is that fine? i
know, we can use E'' strings but N'' ones are no where documented, so
can i rely on those or i have to change those strings?

"""
create table t1_nvarchar(col1 text);
insert into t1_nvarchar values (N'texto');
"""

--
Jaime Casanova         www.2ndQuadrant.com
Soporte y capacitación de PostgreSQL


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

Предыдущее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: List traffic
Следующее
От: Robert Haas
Дата:
Сообщение: Re: quoting and recovery.conf