Does mbutils.c really need to use L'\0' ? - Mailing list pgsql-hackers

From Tom Lane
Subject Does mbutils.c really need to use L'\0' ?
Date
Msg-id 16458.1278452471@sss.pgh.pa.us
Whole thread Raw
Responses Re: Does mbutils.c really need to use L'\0' ?
List pgsql-hackers
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?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: t_self as system column
Next
From: Greg Smith
Date:
Subject: Re: Re: [COMMITTERS] pgsql: Fix log_temp_files docs and comments to say bytes not kilobytes.