File tree Expand file tree Collapse file tree 1 file changed +36
-13
lines changed Expand file tree Collapse file tree 1 file changed +36
-13
lines changed Original file line number Diff line number Diff line change @@ -54,33 +54,33 @@ interface postgres {
54
54
}
55
55
56
56
record int4range {
57
- start : int4bound ,
58
- end : int4bound
57
+ start : int4bound ,
58
+ end : int4bound
59
59
}
60
60
61
61
record int8range {
62
- start : int8bound ,
63
- end : int8bound
62
+ start : int8bound ,
63
+ end : int8bound
64
64
}
65
65
66
66
record numrange {
67
- start : numbound ,
68
- end : numbound
67
+ start : numbound ,
68
+ end : numbound
69
69
}
70
70
71
71
record tsrange {
72
- start : tsbound ,
73
- end : tsbound
72
+ start : tsbound ,
73
+ end : tsbound
74
74
}
75
75
76
76
record tstzrange {
77
- start : tstzbound ,
78
- end : tstzbound
77
+ start : tstzbound ,
78
+ end : tstzbound
79
79
}
80
80
81
81
record daterange {
82
- start : datebound ,
83
- end : datebound
82
+ start : datebound ,
83
+ end : datebound
84
84
}
85
85
86
86
record enumeration-type {
@@ -112,6 +112,27 @@ interface postgres {
112
112
value : lazy-db-value
113
113
}
114
114
115
+ record range-type {
116
+ name : string ,
117
+ base-type : lazy-db-column-type
118
+ }
119
+
120
+ variant value-bound {
121
+ included (lazy-db-value ),
122
+ excluded (lazy-db-value ),
123
+ unbounded
124
+ }
125
+
126
+ record values-range {
127
+ start : value-bound ,
128
+ end : value-bound
129
+ }
130
+
131
+ record range {
132
+ name : string ,
133
+ value : values-range
134
+ }
135
+
115
136
variant db-column-type {
116
137
character ,
117
138
int2 ,
@@ -152,7 +173,8 @@ interface postgres {
152
173
enumeration (enumeration-type ),
153
174
composite (composite-type ),
154
175
domain (domain-type ),
155
- array (lazy-db-column-type )
176
+ array (lazy-db-column-type ),
177
+ range (range-type )
156
178
}
157
179
158
180
variant db-value {
@@ -196,6 +218,7 @@ interface postgres {
196
218
composite (composite ),
197
219
domain (domain ),
198
220
array (list <lazy-db-value >),
221
+ range (range ),
199
222
null
200
223
}
201
224
You can’t perform that action at this time.
0 commit comments