pgsql: Cleanup the usage of ScanDirection: use the symbolic names for - Mailing list pgsql-committers

From neilc@postgresql.org (Neil Conway)
Subject pgsql: Cleanup the usage of ScanDirection: use the symbolic names for
Date
Msg-id 20060221230154.67F4C9DCB61@postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Cleanup the usage of ScanDirection: use the symbolic names for the
possible ScanDirection alternatives rather than magic numbers
(-1, 0, 1).  Also, use the ScanDirection macros in a few places
rather than directly checking whether `dir == ForwardScanDirection'
and the like. Per patch from James William Pye. His patch also
changed ScanDirection to be a "char" rather than an enum, which
I haven't applied.

Modified Files:
--------------
    pgsql/src/backend/access/heap:
        heapam.c (r1.206 -> r1.207)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/heap/heapam.c.diff?r1=1.206&r2=1.207)
    pgsql/src/backend/executor:
        execMain.c (r1.266 -> r1.267)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/execMain.c.diff?r1=1.266&r2=1.267)
    pgsql/src/backend/tcop:
        pquery.c (r1.98 -> r1.99)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/tcop/pquery.c.diff?r1=1.98&r2=1.99)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix old pg_dump oversight: default values for domains really need
Next
From: h-saito@pgfoundry.org (User H-saito)
Date:
Subject: psqlodbc - psqlodbc: Standard build patch.(libpq,ssleay32) This is