pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Typo in nbtsort.c
2+ messages / 2 participants
[nested] [flat]

* Typo in nbtsort.c
@ 2011-10-01 17:40  Peter Geoghegan <peter@2ndquadrant.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Peter Geoghegan @ 2011-10-01 17:40 UTC (permalink / raw)
  To: pgsql-bugs

I noticed this typo in a comment in the file nbtsort.c:

/*
 * We need to log index creation in WAL iff WAL archiving/streaming is
 * enabled UNLESS the index isn't WAL-logged anyway.
 */

I suggest an s/iff/if/

-- 
Peter Geoghegan       http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training and Services



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

* Re: Typo in nbtsort.c
@ 2011-10-01 18:12  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Peter Geoghegan <peter@2ndquadrant.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2011-10-01 18:12 UTC (permalink / raw)
  To: Peter Geoghegan <peter@2ndquadrant.com>; +Cc: pgsql-bugs

Peter Geoghegan <peter@2ndquadrant.com> writes:
> I noticed this typo in a comment in the file nbtsort.c:
> /*
>  * We need to log index creation in WAL iff WAL archiving/streaming is
>  * enabled UNLESS the index isn't WAL-logged anyway.
>  */

> I suggest an s/iff/if/

This is not a typo, it's the standard contraction for "if and only if".

			regards, tom lane



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


end of thread, other threads:[~2011-10-01 18:12 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-10-01 17:40 Typo in nbtsort.c Peter Geoghegan <peter@2ndquadrant.com>
2011-10-01 18:12 ` Tom Lane <tgl@sss.pgh.pa.us>

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