Re: nvarchar notation accepted?

Поиск
Список
Период
Сортировка
От Jaime Casanova
Тема Re: nvarchar notation accepted?
Дата
Msg-id AANLkTikho3oMY2qesFGCnif2S4Cq331Yz1YioBGHXSgC@mail.gmail.com
обсуждение исходный текст
Ответ на Re: nvarchar notation accepted?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: nvarchar notation accepted?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Thu, May 13, 2010 at 10:52 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> Actually, the lexer translates N'foo' to NCHAR 'foo' and then the
> grammar treats that just like CHAR 'foo'.  In short, the N doesn't do
> anything very useful, and it certainly doesn't have any effect on
> encoding behavior.  I think this is something Tom Lockhart put in ten or
> so years back, and never got as far as making it actually do anything
> helpful.
>

so, the N'' syntax is fine and i don't need to hunt them as a migration step?

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


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: nvarchar notation accepted?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: nvarchar notation accepted?