From: | Jaime Casanova <jaime(at)2ndquadrant(dot)com> |
---|---|
To: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | nvarchar notation accepted? |
Date: | 2010-05-13 22:31:55 |
Message-ID: | AANLkTilm8PWD3RAiRiAn548h1Zv7Lb-HcB7n-Sbw0eJS@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2010-05-13 22:33:40 | Re: quoting and recovery.conf |
Previous Message | Marc G. Fournier | 2010-05-13 22:13:30 | Re: List traffic |