PostgreSQL Source Code: src/include/commands/copyapi.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#ifndef COPYAPI_H

15#define COPYAPI_H

16

18

19

20

21

22

24{

25

26

27

28

29

30

31

32

33

36

37

38

39

40

41

42

43

45

46

47

48

50

51

52

53

56

57

58

59

60

62{

63

64

65

66

67

68

69

70

71

72

73

76

77

78

79

80

81

82

83

84

86

87

88

89

90

91

92

93

94

95

98

99

100

101

104

105#endif

static Datum values[MAXATTR]

struct CopyFromRoutine CopyFromRoutine

struct CopyToRoutine CopyToRoutine

void(* CopyFromEnd)(CopyFromState cstate)

void(* CopyFromInFunc)(CopyFromState cstate, Oid atttypid, FmgrInfo *finfo, Oid *typioparam)

bool(* CopyFromOneRow)(CopyFromState cstate, ExprContext *econtext, Datum *values, bool *nulls)

void(* CopyFromStart)(CopyFromState cstate, TupleDesc tupDesc)

void(* CopyToOutFunc)(CopyToState cstate, Oid atttypid, FmgrInfo *finfo)

void(* CopyToOneRow)(CopyToState cstate, TupleTableSlot *slot)

void(* CopyToEnd)(CopyToState cstate)

void(* CopyToStart)(CopyToState cstate, TupleDesc tupDesc)