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

Go to the source code of this file.

Data Structures

struct  Session
 
struct  Step
 
struct  PermutationStepBlocker
 
struct  PermutationStep
 
struct  Permutation
 
struct  TestSpec
 

Typedefs

typedef struct Step Step
 

Enumerations

enum  PermutationStepBlockerType { PSB_ONCE , PSB_OTHER_STEP , PSB_NUM_NOTICES }
 

Functions

int spec_yyparse (void)
 
int spec_yylex (void)
 
void spec_yyerror (const char *message)
 

Variables

TestSpec parseresult
 

Typedef Documentation

◆ Step

typedef struct Step Step

Definition at line 22 of file isolationtester.h.

Enumeration Type Documentation

◆ PermutationStepBlockerType

Enumerator
PSB_ONCE 
PSB_OTHER_STEP 
PSB_NUM_NOTICES 

Definition at line 42 of file isolationtester.h.

43{
44 PSB_ONCE, /* force step to wait once */
45 PSB_OTHER_STEP, /* wait for another step to complete first */
46 PSB_NUM_NOTICES, /* wait for N notices from another session */
PermutationStepBlockerType
@ PSB_NUM_NOTICES
@ PSB_ONCE
@ PSB_OTHER_STEP

Function Documentation

◆ spec_yyerror()

void spec_yyerror ( const char *  message)

Definition at line 163 of file specscanner.l.

164{
165 fprintf(stderr, "%s at line %d\n", message, yyline);
166 exit(1);
167}
#define fprintf(file, fmt, msg)
Definition: cubescan.l:21
exit(1)
static int yyline
Definition: specscanner.l:23

References exit(), fprintf, and yyline.

◆ spec_yylex()

int spec_yylex ( void  )

◆ spec_yyparse()

int spec_yyparse ( void  )

Referenced by main().

Variable Documentation

◆ parseresult

TestSpec parseresult
extern

Referenced by main(), and parsejsonpath().