Thread: Typo in nbtsort.c

Typo in nbtsort.c

From
Peter Geoghegan
Date:
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/

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

Re: Typo in nbtsort.c

From
Tom Lane
Date:
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