pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix creative, but unportable, spelling of "ptr != NULL".
2+ messages / 2 participants
[nested] [flat]

* pgsql: Fix creative, but unportable, spelling of "ptr != NULL".
@ 2016-12-12 16:23 Tom Lane <tgl@sss.pgh.pa.us>
  2016-12-13 04:06 ` Re: pgsql: Fix creative, but unportable, spelling of "ptr != NULL". Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
  0 siblings, 1 reply; 2+ messages in thread

From: Tom Lane @ 2016-12-12 16:23 UTC (permalink / raw)
  To: pgsql-committers

Fix creative, but unportable, spelling of "ptr != NULL".

Or at least I suppose that's what was really meant here.  But even
aside from the not-per-project-style use of "0" to mean "NULL",
I doubt it's safe to assume that all valid pointers are > NULL.
Per buildfarm member pademelon.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/563d575fd73361f6118c13f2816988eba8e1f657

Modified Files
--------------
src/backend/commands/tablecmds.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: pgsql: Fix creative, but unportable, spelling of "ptr != NULL".
  2016-12-12 16:23 pgsql: Fix creative, but unportable, spelling of "ptr != NULL". Tom Lane <tgl@sss.pgh.pa.us>
@ 2016-12-13 04:06 ` Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
  0 siblings, 0 replies; 2+ messages in thread

From: Amit Langote @ 2016-12-13 04:06 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; pgsql-committers

On 2016/12/13 1:23, Tom Lane wrote:
> Fix creative, but unportable, spelling of "ptr != NULL".
> 
> Or at least I suppose that's what was really meant here.  But even
> aside from the not-per-project-style use of "0" to mean "NULL",
> I doubt it's safe to assume that all valid pointers are > NULL.
> Per buildfarm member pademelon.

Oops, that was definitely unintentional.  Thanks for fixing!

Thanks,
Amit




-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2016-12-13 04:06 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-12-12 16:23 pgsql: Fix creative, but unportable, spelling of "ptr != NULL". Tom Lane <tgl@sss.pgh.pa.us>
2016-12-13 04:06 ` Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox