PostgreSQL Source Code: src/include/parser/parsetree.h Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15#ifndef PARSETREE_H

16#define PARSETREE_H

17

19

20

21

22

23

24

25

26

27

28

29

30

31#define rt_fetch(rangetable_index, rangetable) \

32 ((RangeTblEntry *) list_nth(rangetable, (rangetable_index)-1))

33

34

35

36

37

39

40

41

42

45

46

47

48

49

50

51

53

54

55

56

57

58

60

61#endif

RowMarkClause * get_parse_rowmark(Query *qry, Index rtindex)

char * get_rte_attribute_name(RangeTblEntry *rte, AttrNumber attnum)

TargetEntry * get_tle_by_resno(List *tlist, AttrNumber resno)

bool get_rte_attribute_is_dropped(RangeTblEntry *rte, AttrNumber attnum)