Re: Does mbutils.c really need to use L'\0' ?

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Does mbutils.c really need to use L'\0' ?
Дата
Msg-id 4C33A63A.9070906@dunslane.net
обсуждение исходный текст
Ответ на Does mbutils.c really need to use L'\0' ?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Does mbutils.c really need to use L'\0' ?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers

Tom Lane wrote:
> I grow weary of mopping up after pgindent, as in
> http://archives.postgresql.org/pgsql-committers/2010-07/msg00069.php
>
> The problem evidently is that pgindent hasn't heard of wide character
> constants.  No doubt the best fix would be to teach it about them;
> but given that we seem to have next to no use for such constants,
> I'm dubious that it's worth the trouble.  I suggest that it might be
> best to replace these usages of L'\0' by plain scalar 0.  Does anyone
> think that wouldn't work or is too grotty?
>
>             
>   

or maybe 0x0000, which I gather from 
<http://en.wikipedia.org/wiki/Wide_character> is the usual locution.

cheers

andrew.


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Add note that using PL/Python 2 and 3 in the same session will
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Add note that using PL/Python 2 and 3 in the same session will