Skip site navigation (1) Skip section navigation (2)

correct NUL vs. NULL usage

From: Neil Conway <neilc(at)samurai(dot)com>
To: PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: correct NUL vs. NULL usage
Date: 2003-09-24 06:21:08
Message-ID: 1064384467.5822.63.camel@tokyo (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
In C, "NULL" denotes a special pointer value indicating the pointer
points to no value. "NUL" is the ASCII character that terminates a C
string. These two terms are not synonymous, so this patch corrects the
usage of NULL in comments in the postgres source.

I may have missed an instance or two, but this gets most of the
mistakes, I believe.


Attachment: nul_cleanup-4.patch
Description: text/x-patch (68.6 KB)


pgsql-patches by date

Next:From: Tom LaneDate: 2003-09-24 13:54:43
Subject: Re: correct NUL vs. NULL usage
Previous:From: Tom LaneDate: 2003-09-24 05:39:18
Subject: Re: bug in vacuumlo?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group