PostgreSQL Source Code  git master
sdir.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#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 }
 

Macro Definition Documentation

◆ ScanDirectionIsBackward

◆ ScanDirectionIsForward

◆ ScanDirectionIsNoMovement

#define ScanDirectionIsNoMovement (   direction)    ((bool) ((direction) == NoMovementScanDirection))

Definition at line 48 of file sdir.h.

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

◆ ScanDirectionIsValid

#define ScanDirectionIsValid (   direction)
Value:
((bool) (BackwardScanDirection <= (direction) && \
(direction) <= ForwardScanDirection))
char bool
Definition: c.h:247

Definition at line 33 of file sdir.h.

Typedef Documentation

◆ ScanDirection

Enumeration Type Documentation

◆ ScanDirection

Enumerator
BackwardScanDirection 
NoMovementScanDirection 
ForwardScanDirection 

Definition at line 22 of file sdir.h.