Re: correct NUL vs. NULL usage - Mailing list pgsql-patches

From Peter Eisentraut
Subject Re: correct NUL vs. NULL usage
Date
Msg-id Pine.LNX.4.44.0309281139560.11938-100000@peter.localdomain
Whole thread Raw
In response to Re: correct NUL vs. NULL usage  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
Bruce Momjian writes:

> Tom, I understand your research on the historical usage of null, but in
> PostgreSQL we have not two but three possible uses for n-u-l-l:
>
>     o null pointer
>     o null byte
>     o null SQL value
>
> With that list, anything that makes null clearer is great.  I think we
> should just standardize on 'NUL' for a null byte, or 'nul'.

I don't think someone coming in from the street and seeing a message or
code is going to understand that.  If you really want to be clear, call it
"zero byte".

--
Peter Eisentraut   peter_e@gmx.net


pgsql-patches by date:

Previous
From: "Nigel J. Andrews"
Date:
Subject: Re: tsearch2 memory alloc checks
Next
From: Bruce Momjian
Date:
Subject: Re: tsearch2 memory alloc checks