Header And Logo

PostgreSQL
| The world's most advanced open source database.

Defines | Typedefs | Enumerations

sdir.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define ScanDirectionIsValid(direction)
#define ScanDirectionIsBackward(direction)   ((bool) ((direction) == BackwardScanDirection))
#define ScanDirectionIsNoMovement(direction)   ((bool) ((direction) == NoMovementScanDirection))
#define ScanDirectionIsForward(direction)   ((bool) ((direction) == ForwardScanDirection))

Typedefs

typedef enum ScanDirection ScanDirection

Enumerations

enum  ScanDirection { BackwardScanDirection = -1, NoMovementScanDirection = 0, ForwardScanDirection = 1 }

Define Documentation

#define ScanDirectionIsBackward (   direction  )     ((bool) ((direction) == BackwardScanDirection))
#define ScanDirectionIsForward (   direction  )     ((bool) ((direction) == ForwardScanDirection))
#define ScanDirectionIsNoMovement (   direction  )     ((bool) ((direction) == NoMovementScanDirection))

Definition at line 48 of file sdir.h.

Referenced by PortalRunSelect(), RunFromStore(), and standard_ExecutorRun().

#define ScanDirectionIsValid (   direction  ) 
Value:
((bool) (BackwardScanDirection <= (direction) && \
             (direction) <= ForwardScanDirection))

Definition at line 33 of file sdir.h.


Typedef Documentation


Enumeration Type Documentation

Enumerator:
BackwardScanDirection 
NoMovementScanDirection 
ForwardScanDirection 

Definition at line 22 of file sdir.h.