@consiliency/agent-board-schema 1.68.0 → 1.74.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (155) hide show
  1. package/fixtures/already-applied.json +28 -4
  2. package/migrations/20261026000100_agent_board_thread_association.sql +1287 -0
  3. package/migrations/20261101000100_agent_board_session_measured_mint.sql +145 -0
  4. package/migrations/20261104065658_agent_board_reply_delivery.sql +659 -0
  5. package/migrations/20261104170000_agent_board_tasking_replay_scope.sql +320 -0
  6. package/migrations/20261104180000_agent_board_delivery_writer_execute.sql +51 -0
  7. package/migrations/20261104190000_agent_board_message_replay_scope.sql +373 -0
  8. package/package.json +1 -1
  9. package/schema-manifest.json +57 -3
  10. package/src/tooling.test.mjs +8 -2
  11. package/tests/agent_board_661_reply_delivery.test.sql +185 -0
  12. package/tests/agent_board_667_boundary.test.sql +162 -0
  13. package/tests/agent_board_667_conversion_branches.test.sql +91 -0
  14. package/tests/agent_board_667_conversion_profile.test.sql +112 -0
  15. package/tests/agent_board_667_history_class.test.sql +785 -0
  16. package/tests/agent_board_667_native_cast_effect.test.sql +88 -0
  17. package/tests/agent_board_667_realtime_apply_behavior.test.sql +117 -0
  18. package/tests/agent_board_667_realtime_apply_controls.test.sql +143 -0
  19. package/tests/agent_board_667_realtime_apply_profile.test.sql +61 -0
  20. package/tests/agent_board_667_retention.test.sql +201 -0
  21. package/tests/agent_board_667_routing.test.sql +294 -0
  22. package/tests/agent_board_667_sender_effects.test.sql +100 -0
  23. package/tests/agent_board_667_sender_profile_controls.test.sql +29 -0
  24. package/tests/agent_board_667_storage_delimiter_behavior.test.sql +84 -0
  25. package/tests/agent_board_667_storage_delimiter_controls.test.sql +23 -0
  26. package/tests/agent_board_667_storage_delimiter_profile.test.sql +61 -0
  27. package/tests/agent_board_667_storage_search_behavior.test.sql +93 -0
  28. package/tests/agent_board_667_storage_search_controls.test.sql +22 -0
  29. package/tests/agent_board_667_storage_search_profile.test.sql +60 -0
  30. package/tests/agent_board_667_storage_timestamp_behavior.test.sql +58 -0
  31. package/tests/agent_board_667_storage_timestamp_controls.test.sql +22 -0
  32. package/tests/agent_board_667_storage_timestamp_profile.test.sql +54 -0
  33. package/tests/agent_board_667_writers.test.sql +281 -0
  34. package/tests/agent_board_717_message_replay_scope.test.sql +828 -0
  35. package/tests/agent_board_717_tasking_replay_scope.test.sql +661 -0
  36. package/tests/agent_board_addressing.test.sql +8 -5
  37. package/tests/agent_board_claim_subject_gate.test.sql +7 -3
  38. package/tests/agent_board_claimpolicy_race.test.sql +39 -11
  39. package/tests/agent_board_delegate_role_class.test.sql +33 -15
  40. package/tests/agent_board_delivery_writer_execute.test.sql +371 -0
  41. package/tests/agent_board_fk_lock_edges.test.sql +3 -0
  42. package/tests/agent_board_hosted_delegates.test.sql +5 -2
  43. package/tests/agent_board_inbox_rpcs.test.sql +5 -3
  44. package/tests/agent_board_obsgate.test.sql +8 -4
  45. package/tests/agent_board_obsgate4.test.sql +2 -2
  46. package/tests/agent_board_outbox_wake_ordering.test.sql +25 -2
  47. package/tests/agent_board_own_post_not_delivered.test.sql +11 -9
  48. package/tests/agent_board_session_identity_behavior_classes.test.sql +2 -2
  49. package/tests/agent_board_session_identity_limits.test.sql +1 -1
  50. package/tests/agent_board_session_identity_measured_mint.test.sql +342 -0
  51. package/tests/agent_board_session_identity_predicate_isolation.test.sql +146 -0
  52. package/tests/agent_board_sidserver_authority.test.sql +69 -0
  53. package/tests/agent_board_sidserver_catalog.test.sql +47 -0
  54. package/tests/agent_board_signed_write_gateway.test.sql +4 -2
  55. package/tests/agent_board_task_thread_lock_order.test.sql +67 -42
  56. package/tests/agent_board_v2_invariants.test.sql +5 -2
  57. package/tests/agent_board_write_enforcement_class.test.sql +3 -3
  58. package/tests/catalog/function_execute_privileges.json +41 -5
  59. package/tests/catalog/p_metadata_parameters.json +16 -0
  60. package/tests/fixtures/agent_board_667_apply_rls_guard.sql +195 -0
  61. package/tests/fixtures/agent_board_667_apply_rls_provenance.md +125 -0
  62. package/tests/fixtures/agent_board_667_apply_rls_reference.sql +1903 -0
  63. package/tests/fixtures/agent_board_667_conversion_guard.sql +162 -0
  64. package/tests/fixtures/agent_board_667_conversion_reference.md +23 -0
  65. package/tests/fixtures/agent_board_667_conversion_reference.sql +5325 -0
  66. package/tests/fixtures/agent_board_667_delimiter_guard.sql +92 -0
  67. package/tests/fixtures/agent_board_667_delimiter_provenance.md +116 -0
  68. package/tests/fixtures/agent_board_667_delimiter_reference.sql +10150 -0
  69. package/tests/fixtures/agent_board_667_search_guard.sql +92 -0
  70. package/tests/fixtures/agent_board_667_search_provenance.md +141 -0
  71. package/tests/fixtures/agent_board_667_search_reference.sql +4779 -0
  72. package/tests/fixtures/agent_board_667_sender_guard.sql +102 -0
  73. package/tests/fixtures/agent_board_667_sender_reference.md +20 -0
  74. package/tests/fixtures/agent_board_667_sender_reference.sql +875 -0
  75. package/tests/fixtures/agent_board_667_timestamp_graph.sql +84 -0
  76. package/tests/fixtures/agent_board_667_timestamp_guard.sql +94 -0
  77. package/tests/fixtures/agent_board_667_timestamp_provenance.md +99 -0
  78. package/tests/fixtures/agent_board_667_timestamp_reference.sql +2938 -0
  79. package/tests/isolation/expected/association_artifact_anchor_order.out +108 -0
  80. package/tests/isolation/expected/association_board_vs_board.out +71 -0
  81. package/tests/isolation/expected/association_post_wait_authority.out +77 -0
  82. package/tests/isolation/expected/association_strong_history_writers.out +203 -0
  83. package/tests/isolation/expected/association_strong_isolation.out +185 -0
  84. package/tests/isolation/expected/association_vs_artifact_claim_escalation.out +199 -0
  85. package/tests/isolation/expected/association_vs_heartbeat.out +78 -0
  86. package/tests/isolation/expected/association_vs_multi_anchor_artifact.out +67 -0
  87. package/tests/isolation/expected/association_vs_private_message.out +67 -0
  88. package/tests/isolation/expected/association_vs_task_and_conflict.out +133 -0
  89. package/tests/isolation/expected/association_vs_taskful_cross_thread.out +133 -0
  90. package/tests/isolation/expected/message_replay_scope.out +209 -0
  91. package/tests/isolation/expected/tasking_replay_scope.out +125 -0
  92. package/tests/isolation/specs/association_artifact_anchor_order.spec +46 -0
  93. package/tests/isolation/specs/association_board_vs_board.spec +37 -0
  94. package/tests/isolation/specs/association_post_wait_authority.spec +48 -0
  95. package/tests/isolation/specs/association_strong_history_writers.spec +61 -0
  96. package/tests/isolation/specs/association_strong_isolation.spec +50 -0
  97. package/tests/isolation/specs/association_vs_artifact_claim_escalation.spec +41 -0
  98. package/tests/isolation/specs/association_vs_heartbeat.spec +47 -0
  99. package/tests/isolation/specs/association_vs_multi_anchor_artifact.spec +38 -0
  100. package/tests/isolation/specs/association_vs_private_message.spec +33 -0
  101. package/tests/isolation/specs/association_vs_task_and_conflict.spec +38 -0
  102. package/tests/isolation/specs/association_vs_taskful_cross_thread.spec +42 -0
  103. package/tests/isolation/specs/message_replay_scope.spec +77 -0
  104. package/tests/isolation/specs/tasking_replay_scope.spec +72 -0
  105. package/tests/mutations/717-f1/M0_prefix_main_acl_and_comments.sql +11 -0
  106. package/tests/mutations/717-f1/M10_wrapper_stops_delegating.sql +7 -0
  107. package/tests/mutations/717-f1/M11_transitive_recipient_content.sql +8 -0
  108. package/tests/mutations/717-f1/M12_transitive_recipient_visibility.sql +8 -0
  109. package/tests/mutations/717-f1/M13_transitive_worker_content.sql +15 -0
  110. package/tests/mutations/717-f1/M1a_regrant_upsert_delivery_recipient.sql +1 -0
  111. package/tests/mutations/717-f1/M1b_regrant_upsert_inbox_item.sql +1 -0
  112. package/tests/mutations/717-f1/M1c_regrant_queue_inbox_callbacks.sql +1 -0
  113. package/tests/mutations/717-f1/M1d_regrant_queue_board_post_callbacks.sql +1 -0
  114. package/tests/mutations/717-f1/M1e_regrant_next_thread_message_sequence.sql +1 -0
  115. package/tests/mutations/717-f1/M2_blanket_schema_grant.sql +1 -0
  116. package/tests/mutations/717-f1/M3_new_overload_of_sink.sql +10 -0
  117. package/tests/mutations/717-f1/M4_new_route_calling_sink.sql +7 -0
  118. package/tests/mutations/717-f1/M5_actor_trusts_supplied_id.sql +5 -0
  119. package/tests/mutations/717-f1/M6_signed_route_granted_to_authenticated.sql +1 -0
  120. package/tests/mutations/717-f1/M7_worker_granted_to_authenticated.sql +1 -0
  121. package/tests/mutations/717-f1/M8_recipient_state_rewrites_visibility.sql +5 -0
  122. package/tests/mutations/717-f1/M9_public_route_revoked_from_service_role.sql +1 -0
  123. package/tests/mutations/717-f1/outbox_wake_ordering/W1_regrant_queue_inbox_callbacks.sql +1 -0
  124. package/tests/mutations/717-f1/outbox_wake_ordering/W2_revoke_worker_from_service_role.sql +1 -0
  125. package/tests/mutations/717-f1/outbox_wake_ordering/W3_invoker_caller_of_sink.sql +1 -0
  126. package/tests/mutations/717-f1/outbox_wake_ordering/W4_public_regrant_board_post_sink.sql +1 -0
  127. package/tests/mutations/717-f1/run.sh +17 -0
  128. package/tests/mutations/717-f2b/C1_new_delivery_route.sql +4 -0
  129. package/tests/mutations/717-f2b/C2_new_replay_lookup.sql +3 -0
  130. package/tests/mutations/717-f2b/C3_internal_regranted.sql +2 -0
  131. package/tests/mutations/717-f2b/C4_wrapper_writes_delivery.sql +9 -0
  132. package/tests/mutations/717-f2b/C5_class_member_dynamic_sql.sql +9 -0
  133. package/tests/mutations/717-f2b/C6_drop_board_scope_constraint.sql +2 -0
  134. package/tests/mutations/717-f2b/C7_state_private_helper_content.sql +14 -0
  135. package/tests/mutations/717-f2b/L1_dm_lock_split_by_recipient.sql +8 -0
  136. package/tests/mutations/717-f2b/L2_dm_lock_removed.sql +12 -0
  137. package/tests/mutations/717-f2b/L3_mc_lock_split_by_recipients.sql +8 -0
  138. package/tests/mutations/717-f2b/L4_mc_lock_removed.sql +12 -0
  139. package/tests/mutations/717-f2b/M0_prefix_definitions.sql +17 -0
  140. package/tests/mutations/717-f2b/M10_mc_lookup_any_author.sql +15 -0
  141. package/tests/mutations/717-f2b/M11_dm_swallow_refusal.sql +8 -0
  142. package/tests/mutations/717-f2b/M12_mc_swallow_refusal.sql +8 -0
  143. package/tests/mutations/717-f2b/M13_signed_dm_swallows_refusal.sql +32 -0
  144. package/tests/mutations/717-f2b/M14_signed_mc_swallows_refusal.sql +20 -0
  145. package/tests/mutations/717-f2b/M15_mc_any_source.sql +7 -0
  146. package/tests/mutations/717-f2b/M1_dm_drop_recipient_proof.sql +16 -0
  147. package/tests/mutations/717-f2b/M2_mc_drop_recipient_proof.sql +16 -0
  148. package/tests/mutations/717-f2b/M3_dm_metadata_as_proof.sql +12 -0
  149. package/tests/mutations/717-f2b/M4_mc_metadata_as_proof.sql +16 -0
  150. package/tests/mutations/717-f2b/M5_dm_any_mode.sql +11 -0
  151. package/tests/mutations/717-f2b/M6_dm_board_delivery_counts.sql +11 -0
  152. package/tests/mutations/717-f2b/M7_mc_any_mode.sql +11 -0
  153. package/tests/mutations/717-f2b/M8_dm_thread_stamp_as_proof.sql +12 -0
  154. package/tests/mutations/717-f2b/M9_dm_lookup_any_author.sql +15 -0
  155. package/tests/mutations/717-f2b/run.sh +82 -0
@@ -0,0 +1,2938 @@
1
+ -- Generated from native protocol-2 SHA256 bd5946a94b8c7266ca186ff6a33949008418cd156c1b500786a916a7e9673156.
2
+ -- Owned parser/declaration reconstruction must still match live native CI.
3
+ -- Only search_by_timestamp is an admission target; helper and primitive records
4
+ -- are dependencies. This is not a blanket Storage or PostgreSQL exemption.
5
+ create temp table xb_st_reference(kind text,identity text,payload jsonb not null,primary key(kind,identity)) on commit drop;
6
+ insert into pg_temp.xb_st_reference select value->>'kind',value->>'identity',value->'payload'
7
+ from jsonb_array_elements($timestamp_reference$[
8
+ {
9
+ "kind": "target",
10
+ "identity": "storage.objects",
11
+ "payload": {
12
+ "columns": [
13
+ {
14
+ "acl": null,
15
+ "name": "id",
16
+ "type": [
17
+ "pg_catalog",
18
+ "uuid"
19
+ ],
20
+ "number": 1,
21
+ "default": "gen_random_uuid()",
22
+ "dropped": false,
23
+ "options": null,
24
+ "identity": "",
25
+ "modifier": -1,
26
+ "not_null": true,
27
+ "collation": null,
28
+ "generated": "",
29
+ "dimensions": 0,
30
+ "has_missing": false
31
+ },
32
+ {
33
+ "acl": null,
34
+ "name": "bucket_id",
35
+ "type": [
36
+ "pg_catalog",
37
+ "text"
38
+ ],
39
+ "number": 2,
40
+ "default": null,
41
+ "dropped": false,
42
+ "options": null,
43
+ "identity": "",
44
+ "modifier": -1,
45
+ "not_null": false,
46
+ "collation": [
47
+ "pg_catalog",
48
+ "default"
49
+ ],
50
+ "generated": "",
51
+ "dimensions": 0,
52
+ "has_missing": false
53
+ },
54
+ {
55
+ "acl": null,
56
+ "name": "name",
57
+ "type": [
58
+ "pg_catalog",
59
+ "text"
60
+ ],
61
+ "number": 3,
62
+ "default": null,
63
+ "dropped": false,
64
+ "options": null,
65
+ "identity": "",
66
+ "modifier": -1,
67
+ "not_null": false,
68
+ "collation": [
69
+ "pg_catalog",
70
+ "default"
71
+ ],
72
+ "generated": "",
73
+ "dimensions": 0,
74
+ "has_missing": false
75
+ },
76
+ {
77
+ "acl": null,
78
+ "name": "owner",
79
+ "type": [
80
+ "pg_catalog",
81
+ "uuid"
82
+ ],
83
+ "number": 4,
84
+ "default": null,
85
+ "dropped": false,
86
+ "options": null,
87
+ "identity": "",
88
+ "modifier": -1,
89
+ "not_null": false,
90
+ "collation": null,
91
+ "generated": "",
92
+ "dimensions": 0,
93
+ "has_missing": false
94
+ },
95
+ {
96
+ "acl": null,
97
+ "name": "created_at",
98
+ "type": [
99
+ "pg_catalog",
100
+ "timestamptz"
101
+ ],
102
+ "number": 5,
103
+ "default": "now()",
104
+ "dropped": false,
105
+ "options": null,
106
+ "identity": "",
107
+ "modifier": -1,
108
+ "not_null": false,
109
+ "collation": null,
110
+ "generated": "",
111
+ "dimensions": 0,
112
+ "has_missing": false
113
+ },
114
+ {
115
+ "acl": null,
116
+ "name": "updated_at",
117
+ "type": [
118
+ "pg_catalog",
119
+ "timestamptz"
120
+ ],
121
+ "number": 6,
122
+ "default": "now()",
123
+ "dropped": false,
124
+ "options": null,
125
+ "identity": "",
126
+ "modifier": -1,
127
+ "not_null": false,
128
+ "collation": null,
129
+ "generated": "",
130
+ "dimensions": 0,
131
+ "has_missing": false
132
+ },
133
+ {
134
+ "acl": null,
135
+ "name": "last_accessed_at",
136
+ "type": [
137
+ "pg_catalog",
138
+ "timestamptz"
139
+ ],
140
+ "number": 7,
141
+ "default": "now()",
142
+ "dropped": false,
143
+ "options": null,
144
+ "identity": "",
145
+ "modifier": -1,
146
+ "not_null": false,
147
+ "collation": null,
148
+ "generated": "",
149
+ "dimensions": 0,
150
+ "has_missing": false
151
+ },
152
+ {
153
+ "acl": null,
154
+ "name": "metadata",
155
+ "type": [
156
+ "pg_catalog",
157
+ "jsonb"
158
+ ],
159
+ "number": 8,
160
+ "default": null,
161
+ "dropped": false,
162
+ "options": null,
163
+ "identity": "",
164
+ "modifier": -1,
165
+ "not_null": false,
166
+ "collation": null,
167
+ "generated": "",
168
+ "dimensions": 0,
169
+ "has_missing": false
170
+ },
171
+ {
172
+ "acl": null,
173
+ "name": "path_tokens",
174
+ "type": [
175
+ "pg_catalog",
176
+ "_text"
177
+ ],
178
+ "number": 9,
179
+ "default": "string_to_array(name, '/'::text)",
180
+ "dropped": false,
181
+ "options": null,
182
+ "identity": "",
183
+ "modifier": -1,
184
+ "not_null": false,
185
+ "collation": [
186
+ "pg_catalog",
187
+ "default"
188
+ ],
189
+ "generated": "s",
190
+ "dimensions": 1,
191
+ "has_missing": false
192
+ },
193
+ {
194
+ "acl": null,
195
+ "name": "version",
196
+ "type": [
197
+ "pg_catalog",
198
+ "text"
199
+ ],
200
+ "number": 10,
201
+ "default": null,
202
+ "dropped": false,
203
+ "options": null,
204
+ "identity": "",
205
+ "modifier": -1,
206
+ "not_null": false,
207
+ "collation": [
208
+ "pg_catalog",
209
+ "default"
210
+ ],
211
+ "generated": "",
212
+ "dimensions": 0,
213
+ "has_missing": false
214
+ },
215
+ {
216
+ "acl": null,
217
+ "name": "owner_id",
218
+ "type": [
219
+ "pg_catalog",
220
+ "text"
221
+ ],
222
+ "number": 11,
223
+ "default": null,
224
+ "dropped": false,
225
+ "options": null,
226
+ "identity": "",
227
+ "modifier": -1,
228
+ "not_null": false,
229
+ "collation": [
230
+ "pg_catalog",
231
+ "default"
232
+ ],
233
+ "generated": "",
234
+ "dimensions": 0,
235
+ "has_missing": false
236
+ },
237
+ {
238
+ "acl": null,
239
+ "name": "user_metadata",
240
+ "type": [
241
+ "pg_catalog",
242
+ "jsonb"
243
+ ],
244
+ "number": 12,
245
+ "default": null,
246
+ "dropped": false,
247
+ "options": null,
248
+ "identity": "",
249
+ "modifier": -1,
250
+ "not_null": false,
251
+ "collation": null,
252
+ "generated": "",
253
+ "dimensions": 0,
254
+ "has_missing": false
255
+ },
256
+ {
257
+ "acl": null,
258
+ "name": "archived_at",
259
+ "type": [
260
+ "pg_catalog",
261
+ "timestamptz"
262
+ ],
263
+ "number": 13,
264
+ "default": null,
265
+ "dropped": false,
266
+ "options": null,
267
+ "identity": "",
268
+ "modifier": -1,
269
+ "not_null": false,
270
+ "collation": null,
271
+ "generated": "",
272
+ "dimensions": 0,
273
+ "has_missing": false
274
+ },
275
+ {
276
+ "acl": null,
277
+ "name": "is_delete_marker",
278
+ "type": [
279
+ "pg_catalog",
280
+ "bool"
281
+ ],
282
+ "number": 14,
283
+ "default": "false",
284
+ "dropped": false,
285
+ "options": null,
286
+ "identity": "",
287
+ "modifier": -1,
288
+ "not_null": true,
289
+ "collation": null,
290
+ "generated": "",
291
+ "dimensions": 0,
292
+ "has_missing": true
293
+ },
294
+ {
295
+ "acl": null,
296
+ "name": "is_versioned",
297
+ "type": [
298
+ "pg_catalog",
299
+ "bool"
300
+ ],
301
+ "number": 15,
302
+ "default": "false",
303
+ "dropped": false,
304
+ "options": null,
305
+ "identity": "",
306
+ "modifier": -1,
307
+ "not_null": true,
308
+ "collation": null,
309
+ "generated": "",
310
+ "dimensions": 0,
311
+ "has_missing": true
312
+ }
313
+ ],
314
+ "indexes": [
315
+ {
316
+ "keys": [
317
+ 1
318
+ ],
319
+ "live": true,
320
+ "ready": true,
321
+ "valid": true,
322
+ "unique": true,
323
+ "classes": [
324
+ [
325
+ "pg_catalog",
326
+ "uuid_ops",
327
+ "btree"
328
+ ]
329
+ ],
330
+ "options": [
331
+ 0
332
+ ],
333
+ "primary": true,
334
+ "exclusion": false,
335
+ "immediate": true,
336
+ "predicate": null,
337
+ "attributes": 1,
338
+ "collations": [
339
+ null
340
+ ],
341
+ "expression": null,
342
+ "access_method": "btree",
343
+ "key_attributes": 1,
344
+ "relation_options": null,
345
+ "nulls_not_distinct": false
346
+ },
347
+ {
348
+ "keys": [
349
+ 2,
350
+ 0
351
+ ],
352
+ "live": true,
353
+ "ready": true,
354
+ "valid": true,
355
+ "unique": false,
356
+ "classes": [
357
+ [
358
+ "pg_catalog",
359
+ "text_ops",
360
+ "btree"
361
+ ],
362
+ [
363
+ "pg_catalog",
364
+ "text_ops",
365
+ "btree"
366
+ ]
367
+ ],
368
+ "options": [
369
+ 0,
370
+ 0
371
+ ],
372
+ "primary": false,
373
+ "exclusion": false,
374
+ "immediate": true,
375
+ "predicate": null,
376
+ "attributes": 2,
377
+ "collations": [
378
+ [
379
+ "pg_catalog",
380
+ "default"
381
+ ],
382
+ [
383
+ "pg_catalog",
384
+ "C"
385
+ ]
386
+ ],
387
+ "expression": "lower(name)",
388
+ "access_method": "btree",
389
+ "key_attributes": 2,
390
+ "relation_options": null,
391
+ "nulls_not_distinct": false
392
+ },
393
+ {
394
+ "keys": [
395
+ 2,
396
+ 3,
397
+ 10
398
+ ],
399
+ "live": true,
400
+ "ready": true,
401
+ "valid": true,
402
+ "unique": true,
403
+ "classes": [
404
+ [
405
+ "pg_catalog",
406
+ "text_ops",
407
+ "btree"
408
+ ],
409
+ [
410
+ "pg_catalog",
411
+ "text_ops",
412
+ "btree"
413
+ ],
414
+ [
415
+ "pg_catalog",
416
+ "text_ops",
417
+ "btree"
418
+ ]
419
+ ],
420
+ "options": [
421
+ 0,
422
+ 0,
423
+ 0
424
+ ],
425
+ "primary": false,
426
+ "exclusion": false,
427
+ "immediate": true,
428
+ "predicate": null,
429
+ "attributes": 3,
430
+ "collations": [
431
+ [
432
+ "pg_catalog",
433
+ "default"
434
+ ],
435
+ [
436
+ "pg_catalog",
437
+ "C"
438
+ ],
439
+ [
440
+ "pg_catalog",
441
+ "default"
442
+ ]
443
+ ],
444
+ "expression": null,
445
+ "access_method": "btree",
446
+ "key_attributes": 3,
447
+ "relation_options": null,
448
+ "nulls_not_distinct": true
449
+ },
450
+ {
451
+ "keys": [
452
+ 2,
453
+ 3
454
+ ],
455
+ "live": true,
456
+ "ready": true,
457
+ "valid": true,
458
+ "unique": false,
459
+ "classes": [
460
+ [
461
+ "pg_catalog",
462
+ "text_ops",
463
+ "btree"
464
+ ],
465
+ [
466
+ "pg_catalog",
467
+ "text_ops",
468
+ "btree"
469
+ ]
470
+ ],
471
+ "options": [
472
+ 0,
473
+ 0
474
+ ],
475
+ "primary": false,
476
+ "exclusion": false,
477
+ "immediate": true,
478
+ "predicate": "is_delete_marker",
479
+ "attributes": 2,
480
+ "collations": [
481
+ [
482
+ "pg_catalog",
483
+ "default"
484
+ ],
485
+ [
486
+ "pg_catalog",
487
+ "C"
488
+ ]
489
+ ],
490
+ "expression": null,
491
+ "access_method": "btree",
492
+ "key_attributes": 2,
493
+ "relation_options": null,
494
+ "nulls_not_distinct": false
495
+ },
496
+ {
497
+ "keys": [
498
+ 2,
499
+ 3
500
+ ],
501
+ "live": true,
502
+ "ready": true,
503
+ "valid": true,
504
+ "unique": false,
505
+ "classes": [
506
+ [
507
+ "pg_catalog",
508
+ "text_ops",
509
+ "btree"
510
+ ],
511
+ [
512
+ "pg_catalog",
513
+ "text_ops",
514
+ "btree"
515
+ ]
516
+ ],
517
+ "options": [
518
+ 0,
519
+ 0
520
+ ],
521
+ "primary": false,
522
+ "exclusion": false,
523
+ "immediate": true,
524
+ "predicate": null,
525
+ "attributes": 2,
526
+ "collations": [
527
+ [
528
+ "pg_catalog",
529
+ "default"
530
+ ],
531
+ [
532
+ "pg_catalog",
533
+ "C"
534
+ ]
535
+ ],
536
+ "expression": null,
537
+ "access_method": "btree",
538
+ "key_attributes": 2,
539
+ "relation_options": null,
540
+ "nulls_not_distinct": false
541
+ },
542
+ {
543
+ "keys": [
544
+ 2,
545
+ 3
546
+ ],
547
+ "live": true,
548
+ "ready": true,
549
+ "valid": true,
550
+ "unique": true,
551
+ "classes": [
552
+ [
553
+ "pg_catalog",
554
+ "text_ops",
555
+ "btree"
556
+ ],
557
+ [
558
+ "pg_catalog",
559
+ "text_ops",
560
+ "btree"
561
+ ]
562
+ ],
563
+ "options": [
564
+ 0,
565
+ 0
566
+ ],
567
+ "primary": false,
568
+ "exclusion": false,
569
+ "immediate": true,
570
+ "predicate": "(NOT is_versioned)",
571
+ "attributes": 2,
572
+ "collations": [
573
+ [
574
+ "pg_catalog",
575
+ "default"
576
+ ],
577
+ [
578
+ "pg_catalog",
579
+ "C"
580
+ ]
581
+ ],
582
+ "expression": null,
583
+ "access_method": "btree",
584
+ "key_attributes": 2,
585
+ "relation_options": null,
586
+ "nulls_not_distinct": false
587
+ },
588
+ {
589
+ "keys": [
590
+ 2,
591
+ 3
592
+ ],
593
+ "live": true,
594
+ "ready": true,
595
+ "valid": true,
596
+ "unique": true,
597
+ "classes": [
598
+ [
599
+ "pg_catalog",
600
+ "text_ops",
601
+ "btree"
602
+ ],
603
+ [
604
+ "pg_catalog",
605
+ "text_ops",
606
+ "btree"
607
+ ]
608
+ ],
609
+ "options": [
610
+ 0,
611
+ 0
612
+ ],
613
+ "primary": false,
614
+ "exclusion": false,
615
+ "immediate": true,
616
+ "predicate": "(archived_at IS NULL)",
617
+ "attributes": 2,
618
+ "collations": [
619
+ [
620
+ "pg_catalog",
621
+ "default"
622
+ ],
623
+ [
624
+ "pg_catalog",
625
+ "C"
626
+ ]
627
+ ],
628
+ "expression": null,
629
+ "access_method": "btree",
630
+ "key_attributes": 2,
631
+ "relation_options": null,
632
+ "nulls_not_distinct": false
633
+ },
634
+ {
635
+ "keys": [
636
+ 3
637
+ ],
638
+ "live": true,
639
+ "ready": true,
640
+ "valid": true,
641
+ "unique": false,
642
+ "classes": [
643
+ [
644
+ "pg_catalog",
645
+ "text_pattern_ops",
646
+ "btree"
647
+ ]
648
+ ],
649
+ "options": [
650
+ 0
651
+ ],
652
+ "primary": false,
653
+ "exclusion": false,
654
+ "immediate": true,
655
+ "predicate": null,
656
+ "attributes": 1,
657
+ "collations": [
658
+ [
659
+ "pg_catalog",
660
+ "default"
661
+ ]
662
+ ],
663
+ "expression": null,
664
+ "access_method": "btree",
665
+ "key_attributes": 1,
666
+ "relation_options": null,
667
+ "nulls_not_distinct": false
668
+ }
669
+ ],
670
+ "relation": {
671
+ "acl": [
672
+ "anon=arwd/supabase_storage_admin",
673
+ "authenticated=arwd/supabase_storage_admin",
674
+ "postgres=a*r*w*d*D*x*t*m*/supabase_storage_admin",
675
+ "service_role=arwdDxtm/supabase_storage_admin",
676
+ "supabase_storage_admin=arwdDxtm/supabase_storage_admin"
677
+ ],
678
+ "kind": "r",
679
+ "owner": "supabase_storage_admin",
680
+ "options": null,
681
+ "is_partition": false,
682
+ "row_security": true,
683
+ "access_method": "heap",
684
+ "partition_key": null,
685
+ "force_row_security": false
686
+ },
687
+ "constraints": [
688
+ {
689
+ "type": "f",
690
+ "columns": [
691
+ 2
692
+ ],
693
+ "validated": true,
694
+ "definition": "FOREIGN KEY (bucket_id) REFERENCES storage.buckets(id)"
695
+ },
696
+ {
697
+ "type": "p",
698
+ "columns": [
699
+ 1
700
+ ],
701
+ "validated": true,
702
+ "definition": "PRIMARY KEY (id)"
703
+ }
704
+ ]
705
+ }
706
+ },
707
+ {
708
+ "kind": "schema",
709
+ "identity": "storage",
710
+ "payload": {
711
+ "acl": [
712
+ "anon=U/supabase_admin",
713
+ "authenticated=U/supabase_admin",
714
+ "dashboard_user=UC/supabase_admin",
715
+ "postgres=U*/supabase_admin",
716
+ "service_role=U/supabase_admin",
717
+ "supabase_admin=UC/supabase_admin",
718
+ "supabase_storage_admin=U*C*/supabase_admin"
719
+ ],
720
+ "owner": "supabase_admin"
721
+ }
722
+ },
723
+ {
724
+ "kind": "query",
725
+ "identity": "created_at_asc_0",
726
+ "payload": "\n WITH raw_objects AS (\n SELECT\n o.name AS obj_name,\n o.id AS obj_id,\n o.updated_at AS obj_updated_at,\n o.created_at AS obj_created_at,\n o.last_accessed_at AS obj_last_accessed_at,\n o.metadata AS obj_metadata,\n o.version AS obj_version,\n o.archived_at AS obj_archived_at,\n o.is_delete_marker AS obj_is_delete_marker,\n o.is_versioned AS obj_is_versioned,\n storage.get_common_prefix(o.name, ''::text, '/') AS common_prefix\n FROM storage.objects o\n WHERE o.bucket_id = ''::text\n AND o.name COLLATE \"C\" LIKE ''::text || '%'\n AND ('include'::text != 'exclude' OR o.archived_at IS NULL)\n AND ('include'::text != 'only' OR o.archived_at IS NOT NULL)\n AND ('include'::text != 'exclude' OR NOT o.is_delete_marker)\n AND ('include'::text != 'only' OR o.is_delete_marker)\n ),\n -- Aggregate common prefixes (folders)\n -- Both created_at and updated_at use MIN(obj_created_at) to match the old prefixes table behavior\n aggregated_prefixes AS (\n SELECT\n common_prefix AS name,\n NULL::uuid AS id,\n MIN(obj_created_at) AS updated_at,\n MIN(obj_created_at) AS created_at,\n NULL::timestamptz AS last_accessed_at,\n NULL::jsonb AS metadata,\n NULL::text AS version,\n NULL::timestamptz AS archived_at,\n NULL::boolean AS is_delete_marker,\n NULL::boolean AS is_versioned,\n TRUE AS is_prefix\n FROM raw_objects\n WHERE common_prefix IS NOT NULL\n GROUP BY common_prefix\n ),\n leaf_objects AS (\n SELECT\n obj_name AS name,\n obj_id AS id,\n obj_updated_at AS updated_at,\n obj_created_at AS created_at,\n obj_last_accessed_at AS last_accessed_at,\n obj_metadata AS metadata,\n obj_version AS version,\n obj_archived_at AS archived_at,\n obj_is_delete_marker AS is_delete_marker,\n obj_is_versioned AS is_versioned,\n FALSE AS is_prefix\n FROM raw_objects\n WHERE common_prefix IS NULL\n ),\n combined AS (\n SELECT * FROM aggregated_prefixes\n UNION ALL\n SELECT * FROM leaf_objects\n ),\n filtered AS (\n SELECT *\n FROM combined\n WHERE (\n ''::text = ''\n OR ROW(\n COALESCE(date_trunc('milliseconds', created_at), 'epoch'::timestamptz),\n name COLLATE \"C\",\n ''\n ) > ROW(\n -- truncated the same way as the stored value above\n date_trunc('milliseconds', COALESCE(NULLIF(''::text, '')::timestamptz, 'epoch'::timestamptz)),\n ''::text,\n ''::text\n )\n )\n )\n SELECT\n split_part(name, '/', 1::integer) AS key,\n name,\n id,\n updated_at,\n created_at,\n last_accessed_at,\n metadata,\n version,\n archived_at,\n is_delete_marker,\n is_versioned\n FROM filtered\n ORDER BY\n COALESCE(date_trunc('milliseconds', created_at), 'epoch'::timestamptz) asc,\n name COLLATE \"C\" asc,\n COALESCE(version, '') asc\n LIMIT 100::integer\n "
727
+ },
728
+ {
729
+ "kind": "query",
730
+ "identity": "created_at_asc_1",
731
+ "payload": "\n WITH raw_objects AS (\n SELECT\n o.name AS obj_name,\n o.id AS obj_id,\n o.updated_at AS obj_updated_at,\n o.created_at AS obj_created_at,\n o.last_accessed_at AS obj_last_accessed_at,\n o.metadata AS obj_metadata,\n o.version AS obj_version,\n o.archived_at AS obj_archived_at,\n o.is_delete_marker AS obj_is_delete_marker,\n o.is_versioned AS obj_is_versioned,\n storage.get_common_prefix(o.name, ''::text, '/') AS common_prefix\n FROM storage.objects o\n WHERE o.bucket_id = ''::text\n AND o.name COLLATE \"C\" LIKE ''::text || '%'\n AND ('include'::text != 'exclude' OR o.archived_at IS NULL)\n AND ('include'::text != 'only' OR o.archived_at IS NOT NULL)\n AND ('include'::text != 'exclude' OR NOT o.is_delete_marker)\n AND ('include'::text != 'only' OR o.is_delete_marker)\n ),\n -- Aggregate common prefixes (folders)\n -- Both created_at and updated_at use MIN(obj_created_at) to match the old prefixes table behavior\n aggregated_prefixes AS (\n SELECT\n common_prefix AS name,\n NULL::uuid AS id,\n MIN(obj_created_at) AS updated_at,\n MIN(obj_created_at) AS created_at,\n NULL::timestamptz AS last_accessed_at,\n NULL::jsonb AS metadata,\n NULL::text AS version,\n NULL::timestamptz AS archived_at,\n NULL::boolean AS is_delete_marker,\n NULL::boolean AS is_versioned,\n TRUE AS is_prefix\n FROM raw_objects\n WHERE common_prefix IS NOT NULL\n GROUP BY common_prefix\n ),\n leaf_objects AS (\n SELECT\n obj_name AS name,\n obj_id AS id,\n obj_updated_at AS updated_at,\n obj_created_at AS created_at,\n obj_last_accessed_at AS last_accessed_at,\n obj_metadata AS metadata,\n obj_version AS version,\n obj_archived_at AS archived_at,\n obj_is_delete_marker AS is_delete_marker,\n obj_is_versioned AS is_versioned,\n FALSE AS is_prefix\n FROM raw_objects\n WHERE common_prefix IS NULL\n ),\n combined AS (\n SELECT * FROM aggregated_prefixes\n UNION ALL\n SELECT * FROM leaf_objects\n ),\n filtered AS (\n SELECT *\n FROM combined\n WHERE (\n ''::text = ''\n OR ROW(\n COALESCE(date_trunc('milliseconds', created_at), 'epoch'::timestamptz),\n name COLLATE \"C\",\n COALESCE(version, '')\n ) > ROW(\n -- truncated the same way as the stored value above\n date_trunc('milliseconds', COALESCE(NULLIF(''::text, '')::timestamptz, 'epoch'::timestamptz)),\n ''::text,\n ''::text\n )\n )\n )\n SELECT\n split_part(name, '/', 1::integer) AS key,\n name,\n id,\n updated_at,\n created_at,\n last_accessed_at,\n metadata,\n version,\n archived_at,\n is_delete_marker,\n is_versioned\n FROM filtered\n ORDER BY\n COALESCE(date_trunc('milliseconds', created_at), 'epoch'::timestamptz) asc,\n name COLLATE \"C\" asc,\n COALESCE(version, '') asc\n LIMIT 100::integer\n "
732
+ },
733
+ {
734
+ "kind": "query",
735
+ "identity": "created_at_desc_0",
736
+ "payload": "\n WITH raw_objects AS (\n SELECT\n o.name AS obj_name,\n o.id AS obj_id,\n o.updated_at AS obj_updated_at,\n o.created_at AS obj_created_at,\n o.last_accessed_at AS obj_last_accessed_at,\n o.metadata AS obj_metadata,\n o.version AS obj_version,\n o.archived_at AS obj_archived_at,\n o.is_delete_marker AS obj_is_delete_marker,\n o.is_versioned AS obj_is_versioned,\n storage.get_common_prefix(o.name, ''::text, '/') AS common_prefix\n FROM storage.objects o\n WHERE o.bucket_id = ''::text\n AND o.name COLLATE \"C\" LIKE ''::text || '%'\n AND ('include'::text != 'exclude' OR o.archived_at IS NULL)\n AND ('include'::text != 'only' OR o.archived_at IS NOT NULL)\n AND ('include'::text != 'exclude' OR NOT o.is_delete_marker)\n AND ('include'::text != 'only' OR o.is_delete_marker)\n ),\n -- Aggregate common prefixes (folders)\n -- Both created_at and updated_at use MIN(obj_created_at) to match the old prefixes table behavior\n aggregated_prefixes AS (\n SELECT\n common_prefix AS name,\n NULL::uuid AS id,\n MIN(obj_created_at) AS updated_at,\n MIN(obj_created_at) AS created_at,\n NULL::timestamptz AS last_accessed_at,\n NULL::jsonb AS metadata,\n NULL::text AS version,\n NULL::timestamptz AS archived_at,\n NULL::boolean AS is_delete_marker,\n NULL::boolean AS is_versioned,\n TRUE AS is_prefix\n FROM raw_objects\n WHERE common_prefix IS NOT NULL\n GROUP BY common_prefix\n ),\n leaf_objects AS (\n SELECT\n obj_name AS name,\n obj_id AS id,\n obj_updated_at AS updated_at,\n obj_created_at AS created_at,\n obj_last_accessed_at AS last_accessed_at,\n obj_metadata AS metadata,\n obj_version AS version,\n obj_archived_at AS archived_at,\n obj_is_delete_marker AS is_delete_marker,\n obj_is_versioned AS is_versioned,\n FALSE AS is_prefix\n FROM raw_objects\n WHERE common_prefix IS NULL\n ),\n combined AS (\n SELECT * FROM aggregated_prefixes\n UNION ALL\n SELECT * FROM leaf_objects\n ),\n filtered AS (\n SELECT *\n FROM combined\n WHERE (\n ''::text = ''\n OR ROW(\n COALESCE(date_trunc('milliseconds', created_at), 'epoch'::timestamptz),\n name COLLATE \"C\",\n ''\n ) < ROW(\n -- truncated the same way as the stored value above\n date_trunc('milliseconds', COALESCE(NULLIF(''::text, '')::timestamptz, 'epoch'::timestamptz)),\n ''::text,\n ''::text\n )\n )\n )\n SELECT\n split_part(name, '/', 1::integer) AS key,\n name,\n id,\n updated_at,\n created_at,\n last_accessed_at,\n metadata,\n version,\n archived_at,\n is_delete_marker,\n is_versioned\n FROM filtered\n ORDER BY\n COALESCE(date_trunc('milliseconds', created_at), 'epoch'::timestamptz) desc,\n name COLLATE \"C\" desc,\n COALESCE(version, '') desc\n LIMIT 100::integer\n "
737
+ },
738
+ {
739
+ "kind": "query",
740
+ "identity": "created_at_desc_1",
741
+ "payload": "\n WITH raw_objects AS (\n SELECT\n o.name AS obj_name,\n o.id AS obj_id,\n o.updated_at AS obj_updated_at,\n o.created_at AS obj_created_at,\n o.last_accessed_at AS obj_last_accessed_at,\n o.metadata AS obj_metadata,\n o.version AS obj_version,\n o.archived_at AS obj_archived_at,\n o.is_delete_marker AS obj_is_delete_marker,\n o.is_versioned AS obj_is_versioned,\n storage.get_common_prefix(o.name, ''::text, '/') AS common_prefix\n FROM storage.objects o\n WHERE o.bucket_id = ''::text\n AND o.name COLLATE \"C\" LIKE ''::text || '%'\n AND ('include'::text != 'exclude' OR o.archived_at IS NULL)\n AND ('include'::text != 'only' OR o.archived_at IS NOT NULL)\n AND ('include'::text != 'exclude' OR NOT o.is_delete_marker)\n AND ('include'::text != 'only' OR o.is_delete_marker)\n ),\n -- Aggregate common prefixes (folders)\n -- Both created_at and updated_at use MIN(obj_created_at) to match the old prefixes table behavior\n aggregated_prefixes AS (\n SELECT\n common_prefix AS name,\n NULL::uuid AS id,\n MIN(obj_created_at) AS updated_at,\n MIN(obj_created_at) AS created_at,\n NULL::timestamptz AS last_accessed_at,\n NULL::jsonb AS metadata,\n NULL::text AS version,\n NULL::timestamptz AS archived_at,\n NULL::boolean AS is_delete_marker,\n NULL::boolean AS is_versioned,\n TRUE AS is_prefix\n FROM raw_objects\n WHERE common_prefix IS NOT NULL\n GROUP BY common_prefix\n ),\n leaf_objects AS (\n SELECT\n obj_name AS name,\n obj_id AS id,\n obj_updated_at AS updated_at,\n obj_created_at AS created_at,\n obj_last_accessed_at AS last_accessed_at,\n obj_metadata AS metadata,\n obj_version AS version,\n obj_archived_at AS archived_at,\n obj_is_delete_marker AS is_delete_marker,\n obj_is_versioned AS is_versioned,\n FALSE AS is_prefix\n FROM raw_objects\n WHERE common_prefix IS NULL\n ),\n combined AS (\n SELECT * FROM aggregated_prefixes\n UNION ALL\n SELECT * FROM leaf_objects\n ),\n filtered AS (\n SELECT *\n FROM combined\n WHERE (\n ''::text = ''\n OR ROW(\n COALESCE(date_trunc('milliseconds', created_at), 'epoch'::timestamptz),\n name COLLATE \"C\",\n COALESCE(version, '')\n ) < ROW(\n -- truncated the same way as the stored value above\n date_trunc('milliseconds', COALESCE(NULLIF(''::text, '')::timestamptz, 'epoch'::timestamptz)),\n ''::text,\n ''::text\n )\n )\n )\n SELECT\n split_part(name, '/', 1::integer) AS key,\n name,\n id,\n updated_at,\n created_at,\n last_accessed_at,\n metadata,\n version,\n archived_at,\n is_delete_marker,\n is_versioned\n FROM filtered\n ORDER BY\n COALESCE(date_trunc('milliseconds', created_at), 'epoch'::timestamptz) desc,\n name COLLATE \"C\" desc,\n COALESCE(version, '') desc\n LIMIT 100::integer\n "
742
+ },
743
+ {
744
+ "kind": "query",
745
+ "identity": "updated_at_asc_0",
746
+ "payload": "\n WITH raw_objects AS (\n SELECT\n o.name AS obj_name,\n o.id AS obj_id,\n o.updated_at AS obj_updated_at,\n o.created_at AS obj_created_at,\n o.last_accessed_at AS obj_last_accessed_at,\n o.metadata AS obj_metadata,\n o.version AS obj_version,\n o.archived_at AS obj_archived_at,\n o.is_delete_marker AS obj_is_delete_marker,\n o.is_versioned AS obj_is_versioned,\n storage.get_common_prefix(o.name, ''::text, '/') AS common_prefix\n FROM storage.objects o\n WHERE o.bucket_id = ''::text\n AND o.name COLLATE \"C\" LIKE ''::text || '%'\n AND ('include'::text != 'exclude' OR o.archived_at IS NULL)\n AND ('include'::text != 'only' OR o.archived_at IS NOT NULL)\n AND ('include'::text != 'exclude' OR NOT o.is_delete_marker)\n AND ('include'::text != 'only' OR o.is_delete_marker)\n ),\n -- Aggregate common prefixes (folders)\n -- Both created_at and updated_at use MIN(obj_created_at) to match the old prefixes table behavior\n aggregated_prefixes AS (\n SELECT\n common_prefix AS name,\n NULL::uuid AS id,\n MIN(obj_created_at) AS updated_at,\n MIN(obj_created_at) AS created_at,\n NULL::timestamptz AS last_accessed_at,\n NULL::jsonb AS metadata,\n NULL::text AS version,\n NULL::timestamptz AS archived_at,\n NULL::boolean AS is_delete_marker,\n NULL::boolean AS is_versioned,\n TRUE AS is_prefix\n FROM raw_objects\n WHERE common_prefix IS NOT NULL\n GROUP BY common_prefix\n ),\n leaf_objects AS (\n SELECT\n obj_name AS name,\n obj_id AS id,\n obj_updated_at AS updated_at,\n obj_created_at AS created_at,\n obj_last_accessed_at AS last_accessed_at,\n obj_metadata AS metadata,\n obj_version AS version,\n obj_archived_at AS archived_at,\n obj_is_delete_marker AS is_delete_marker,\n obj_is_versioned AS is_versioned,\n FALSE AS is_prefix\n FROM raw_objects\n WHERE common_prefix IS NULL\n ),\n combined AS (\n SELECT * FROM aggregated_prefixes\n UNION ALL\n SELECT * FROM leaf_objects\n ),\n filtered AS (\n SELECT *\n FROM combined\n WHERE (\n ''::text = ''\n OR ROW(\n COALESCE(date_trunc('milliseconds', updated_at), 'epoch'::timestamptz),\n name COLLATE \"C\",\n ''\n ) > ROW(\n -- truncated the same way as the stored value above\n date_trunc('milliseconds', COALESCE(NULLIF(''::text, '')::timestamptz, 'epoch'::timestamptz)),\n ''::text,\n ''::text\n )\n )\n )\n SELECT\n split_part(name, '/', 1::integer) AS key,\n name,\n id,\n updated_at,\n created_at,\n last_accessed_at,\n metadata,\n version,\n archived_at,\n is_delete_marker,\n is_versioned\n FROM filtered\n ORDER BY\n COALESCE(date_trunc('milliseconds', updated_at), 'epoch'::timestamptz) asc,\n name COLLATE \"C\" asc,\n COALESCE(version, '') asc\n LIMIT 100::integer\n "
747
+ },
748
+ {
749
+ "kind": "query",
750
+ "identity": "updated_at_asc_1",
751
+ "payload": "\n WITH raw_objects AS (\n SELECT\n o.name AS obj_name,\n o.id AS obj_id,\n o.updated_at AS obj_updated_at,\n o.created_at AS obj_created_at,\n o.last_accessed_at AS obj_last_accessed_at,\n o.metadata AS obj_metadata,\n o.version AS obj_version,\n o.archived_at AS obj_archived_at,\n o.is_delete_marker AS obj_is_delete_marker,\n o.is_versioned AS obj_is_versioned,\n storage.get_common_prefix(o.name, ''::text, '/') AS common_prefix\n FROM storage.objects o\n WHERE o.bucket_id = ''::text\n AND o.name COLLATE \"C\" LIKE ''::text || '%'\n AND ('include'::text != 'exclude' OR o.archived_at IS NULL)\n AND ('include'::text != 'only' OR o.archived_at IS NOT NULL)\n AND ('include'::text != 'exclude' OR NOT o.is_delete_marker)\n AND ('include'::text != 'only' OR o.is_delete_marker)\n ),\n -- Aggregate common prefixes (folders)\n -- Both created_at and updated_at use MIN(obj_created_at) to match the old prefixes table behavior\n aggregated_prefixes AS (\n SELECT\n common_prefix AS name,\n NULL::uuid AS id,\n MIN(obj_created_at) AS updated_at,\n MIN(obj_created_at) AS created_at,\n NULL::timestamptz AS last_accessed_at,\n NULL::jsonb AS metadata,\n NULL::text AS version,\n NULL::timestamptz AS archived_at,\n NULL::boolean AS is_delete_marker,\n NULL::boolean AS is_versioned,\n TRUE AS is_prefix\n FROM raw_objects\n WHERE common_prefix IS NOT NULL\n GROUP BY common_prefix\n ),\n leaf_objects AS (\n SELECT\n obj_name AS name,\n obj_id AS id,\n obj_updated_at AS updated_at,\n obj_created_at AS created_at,\n obj_last_accessed_at AS last_accessed_at,\n obj_metadata AS metadata,\n obj_version AS version,\n obj_archived_at AS archived_at,\n obj_is_delete_marker AS is_delete_marker,\n obj_is_versioned AS is_versioned,\n FALSE AS is_prefix\n FROM raw_objects\n WHERE common_prefix IS NULL\n ),\n combined AS (\n SELECT * FROM aggregated_prefixes\n UNION ALL\n SELECT * FROM leaf_objects\n ),\n filtered AS (\n SELECT *\n FROM combined\n WHERE (\n ''::text = ''\n OR ROW(\n COALESCE(date_trunc('milliseconds', updated_at), 'epoch'::timestamptz),\n name COLLATE \"C\",\n COALESCE(version, '')\n ) > ROW(\n -- truncated the same way as the stored value above\n date_trunc('milliseconds', COALESCE(NULLIF(''::text, '')::timestamptz, 'epoch'::timestamptz)),\n ''::text,\n ''::text\n )\n )\n )\n SELECT\n split_part(name, '/', 1::integer) AS key,\n name,\n id,\n updated_at,\n created_at,\n last_accessed_at,\n metadata,\n version,\n archived_at,\n is_delete_marker,\n is_versioned\n FROM filtered\n ORDER BY\n COALESCE(date_trunc('milliseconds', updated_at), 'epoch'::timestamptz) asc,\n name COLLATE \"C\" asc,\n COALESCE(version, '') asc\n LIMIT 100::integer\n "
752
+ },
753
+ {
754
+ "kind": "query",
755
+ "identity": "updated_at_desc_0",
756
+ "payload": "\n WITH raw_objects AS (\n SELECT\n o.name AS obj_name,\n o.id AS obj_id,\n o.updated_at AS obj_updated_at,\n o.created_at AS obj_created_at,\n o.last_accessed_at AS obj_last_accessed_at,\n o.metadata AS obj_metadata,\n o.version AS obj_version,\n o.archived_at AS obj_archived_at,\n o.is_delete_marker AS obj_is_delete_marker,\n o.is_versioned AS obj_is_versioned,\n storage.get_common_prefix(o.name, ''::text, '/') AS common_prefix\n FROM storage.objects o\n WHERE o.bucket_id = ''::text\n AND o.name COLLATE \"C\" LIKE ''::text || '%'\n AND ('include'::text != 'exclude' OR o.archived_at IS NULL)\n AND ('include'::text != 'only' OR o.archived_at IS NOT NULL)\n AND ('include'::text != 'exclude' OR NOT o.is_delete_marker)\n AND ('include'::text != 'only' OR o.is_delete_marker)\n ),\n -- Aggregate common prefixes (folders)\n -- Both created_at and updated_at use MIN(obj_created_at) to match the old prefixes table behavior\n aggregated_prefixes AS (\n SELECT\n common_prefix AS name,\n NULL::uuid AS id,\n MIN(obj_created_at) AS updated_at,\n MIN(obj_created_at) AS created_at,\n NULL::timestamptz AS last_accessed_at,\n NULL::jsonb AS metadata,\n NULL::text AS version,\n NULL::timestamptz AS archived_at,\n NULL::boolean AS is_delete_marker,\n NULL::boolean AS is_versioned,\n TRUE AS is_prefix\n FROM raw_objects\n WHERE common_prefix IS NOT NULL\n GROUP BY common_prefix\n ),\n leaf_objects AS (\n SELECT\n obj_name AS name,\n obj_id AS id,\n obj_updated_at AS updated_at,\n obj_created_at AS created_at,\n obj_last_accessed_at AS last_accessed_at,\n obj_metadata AS metadata,\n obj_version AS version,\n obj_archived_at AS archived_at,\n obj_is_delete_marker AS is_delete_marker,\n obj_is_versioned AS is_versioned,\n FALSE AS is_prefix\n FROM raw_objects\n WHERE common_prefix IS NULL\n ),\n combined AS (\n SELECT * FROM aggregated_prefixes\n UNION ALL\n SELECT * FROM leaf_objects\n ),\n filtered AS (\n SELECT *\n FROM combined\n WHERE (\n ''::text = ''\n OR ROW(\n COALESCE(date_trunc('milliseconds', updated_at), 'epoch'::timestamptz),\n name COLLATE \"C\",\n ''\n ) < ROW(\n -- truncated the same way as the stored value above\n date_trunc('milliseconds', COALESCE(NULLIF(''::text, '')::timestamptz, 'epoch'::timestamptz)),\n ''::text,\n ''::text\n )\n )\n )\n SELECT\n split_part(name, '/', 1::integer) AS key,\n name,\n id,\n updated_at,\n created_at,\n last_accessed_at,\n metadata,\n version,\n archived_at,\n is_delete_marker,\n is_versioned\n FROM filtered\n ORDER BY\n COALESCE(date_trunc('milliseconds', updated_at), 'epoch'::timestamptz) desc,\n name COLLATE \"C\" desc,\n COALESCE(version, '') desc\n LIMIT 100::integer\n "
757
+ },
758
+ {
759
+ "kind": "query",
760
+ "identity": "updated_at_desc_1",
761
+ "payload": "\n WITH raw_objects AS (\n SELECT\n o.name AS obj_name,\n o.id AS obj_id,\n o.updated_at AS obj_updated_at,\n o.created_at AS obj_created_at,\n o.last_accessed_at AS obj_last_accessed_at,\n o.metadata AS obj_metadata,\n o.version AS obj_version,\n o.archived_at AS obj_archived_at,\n o.is_delete_marker AS obj_is_delete_marker,\n o.is_versioned AS obj_is_versioned,\n storage.get_common_prefix(o.name, ''::text, '/') AS common_prefix\n FROM storage.objects o\n WHERE o.bucket_id = ''::text\n AND o.name COLLATE \"C\" LIKE ''::text || '%'\n AND ('include'::text != 'exclude' OR o.archived_at IS NULL)\n AND ('include'::text != 'only' OR o.archived_at IS NOT NULL)\n AND ('include'::text != 'exclude' OR NOT o.is_delete_marker)\n AND ('include'::text != 'only' OR o.is_delete_marker)\n ),\n -- Aggregate common prefixes (folders)\n -- Both created_at and updated_at use MIN(obj_created_at) to match the old prefixes table behavior\n aggregated_prefixes AS (\n SELECT\n common_prefix AS name,\n NULL::uuid AS id,\n MIN(obj_created_at) AS updated_at,\n MIN(obj_created_at) AS created_at,\n NULL::timestamptz AS last_accessed_at,\n NULL::jsonb AS metadata,\n NULL::text AS version,\n NULL::timestamptz AS archived_at,\n NULL::boolean AS is_delete_marker,\n NULL::boolean AS is_versioned,\n TRUE AS is_prefix\n FROM raw_objects\n WHERE common_prefix IS NOT NULL\n GROUP BY common_prefix\n ),\n leaf_objects AS (\n SELECT\n obj_name AS name,\n obj_id AS id,\n obj_updated_at AS updated_at,\n obj_created_at AS created_at,\n obj_last_accessed_at AS last_accessed_at,\n obj_metadata AS metadata,\n obj_version AS version,\n obj_archived_at AS archived_at,\n obj_is_delete_marker AS is_delete_marker,\n obj_is_versioned AS is_versioned,\n FALSE AS is_prefix\n FROM raw_objects\n WHERE common_prefix IS NULL\n ),\n combined AS (\n SELECT * FROM aggregated_prefixes\n UNION ALL\n SELECT * FROM leaf_objects\n ),\n filtered AS (\n SELECT *\n FROM combined\n WHERE (\n ''::text = ''\n OR ROW(\n COALESCE(date_trunc('milliseconds', updated_at), 'epoch'::timestamptz),\n name COLLATE \"C\",\n COALESCE(version, '')\n ) < ROW(\n -- truncated the same way as the stored value above\n date_trunc('milliseconds', COALESCE(NULLIF(''::text, '')::timestamptz, 'epoch'::timestamptz)),\n ''::text,\n ''::text\n )\n )\n )\n SELECT\n split_part(name, '/', 1::integer) AS key,\n name,\n id,\n updated_at,\n created_at,\n last_accessed_at,\n metadata,\n version,\n archived_at,\n is_delete_marker,\n is_versioned\n FROM filtered\n ORDER BY\n COALESCE(date_trunc('milliseconds', updated_at), 'epoch'::timestamptz) desc,\n name COLLATE \"C\" desc,\n COALESCE(version, '') desc\n LIMIT 100::integer\n "
762
+ },
763
+ {
764
+ "kind": "query",
765
+ "identity": "helper",
766
+ "payload": "SELECT CASE\n WHEN '/'::text <> ''\n AND position('/'::text IN substring(''::text FROM length(''::text) + 1)) > 0\n THEN left(\n ''::text,\n length(''::text)\n + position('/'::text IN substring(''::text FROM length(''::text) + 1))\n + length('/'::text) - 1\n )\n ELSE NULL\nEND"
767
+ },
768
+ {
769
+ "kind": "collation",
770
+ "identity": "pg_catalog.\"default\"",
771
+ "payload": {
772
+ "owner": "supabase_admin",
773
+ "schema": "pg_catalog",
774
+ "collname": "default",
775
+ "collctype": null,
776
+ "colllocale": null,
777
+ "collcollate": null,
778
+ "collversion": null,
779
+ "collencoding": -1,
780
+ "collicurules": null,
781
+ "collprovider": "d",
782
+ "collisdeterministic": true
783
+ }
784
+ },
785
+ {
786
+ "kind": "collation",
787
+ "identity": "pg_catalog.\"C\"",
788
+ "payload": {
789
+ "owner": "supabase_admin",
790
+ "schema": "pg_catalog",
791
+ "collname": "C",
792
+ "collctype": "C",
793
+ "colllocale": null,
794
+ "collcollate": "C",
795
+ "collversion": null,
796
+ "collencoding": -1,
797
+ "collicurules": null,
798
+ "collprovider": "c",
799
+ "collisdeterministic": true
800
+ }
801
+ },
802
+ {
803
+ "kind": "wrapper",
804
+ "identity": "storage.get_common_prefix(text,text,text)",
805
+ "payload": {
806
+ "acl": null,
807
+ "kind": "f",
808
+ "owner": "supabase_storage_admin",
809
+ "definition_md5": "0dc62b74fb855d4f504f50f900f93927"
810
+ }
811
+ },
812
+ {
813
+ "kind": "wrapper",
814
+ "identity": "storage.search_by_timestamp(text,text,integer,integer,text,text,text,text,text,text,text)",
815
+ "payload": {
816
+ "acl": null,
817
+ "kind": "f",
818
+ "owner": "supabase_storage_admin",
819
+ "definition_md5": "323c4e2739e9c9bcfc082f7f14289338"
820
+ }
821
+ },
822
+ {
823
+ "kind": "resolution",
824
+ "identity": "extensions.gen_random_uuid()",
825
+ "payload": {
826
+ "acl": [
827
+ "=X/supabase_admin",
828
+ "dashboard_user=X/supabase_admin",
829
+ "postgres=X*/supabase_admin",
830
+ "supabase_admin=X/supabase_admin"
831
+ ],
832
+ "kind": "f",
833
+ "owner": "supabase_admin",
834
+ "definition_md5": "6504babb8130d35e393998bd2856ec61"
835
+ }
836
+ },
837
+ {
838
+ "kind": "resolution",
839
+ "identity": "pg_catalog.\"left\"(text,integer)",
840
+ "payload": {
841
+ "acl": null,
842
+ "kind": "f",
843
+ "owner": "supabase_admin",
844
+ "definition_md5": "b815d35a11c2873e862a7028aea8d92c"
845
+ }
846
+ },
847
+ {
848
+ "kind": "primitive",
849
+ "identity": "pg_catalog.\"left\"(text,integer)",
850
+ "payload": {
851
+ "acl": null,
852
+ "kind": "f",
853
+ "owner": "supabase_admin",
854
+ "definition_md5": "b815d35a11c2873e862a7028aea8d92c"
855
+ }
856
+ },
857
+ {
858
+ "kind": "resolution",
859
+ "identity": "pg_catalog.\"position\"(bit,bit)",
860
+ "payload": {
861
+ "acl": null,
862
+ "kind": "f",
863
+ "owner": "supabase_admin",
864
+ "definition_md5": "25f315a20e922e26e9e9e6bc04818fe6"
865
+ }
866
+ },
867
+ {
868
+ "kind": "resolution",
869
+ "identity": "pg_catalog.\"position\"(bytea,bytea)",
870
+ "payload": {
871
+ "acl": null,
872
+ "kind": "f",
873
+ "owner": "supabase_admin",
874
+ "definition_md5": "2db5cea74c839cfd7b49face9ff71e33"
875
+ }
876
+ },
877
+ {
878
+ "kind": "resolution",
879
+ "identity": "pg_catalog.\"position\"(text,text)",
880
+ "payload": {
881
+ "acl": null,
882
+ "kind": "f",
883
+ "owner": "supabase_admin",
884
+ "definition_md5": "e05b6c14b0cc238d1dffb9b7575fb589"
885
+ }
886
+ },
887
+ {
888
+ "kind": "primitive",
889
+ "identity": "pg_catalog.\"position\"(text,text)",
890
+ "payload": {
891
+ "acl": null,
892
+ "kind": "f",
893
+ "owner": "supabase_admin",
894
+ "definition_md5": "e05b6c14b0cc238d1dffb9b7575fb589"
895
+ }
896
+ },
897
+ {
898
+ "kind": "resolution",
899
+ "identity": "pg_catalog.\"substring\"(bit,integer,integer)",
900
+ "payload": {
901
+ "acl": null,
902
+ "kind": "f",
903
+ "owner": "supabase_admin",
904
+ "definition_md5": "09735989df14ffb47a535d66db5e8250"
905
+ }
906
+ },
907
+ {
908
+ "kind": "resolution",
909
+ "identity": "pg_catalog.\"substring\"(bit,integer)",
910
+ "payload": {
911
+ "acl": null,
912
+ "kind": "f",
913
+ "owner": "supabase_admin",
914
+ "definition_md5": "1ea353643e447835489e6caa4cafbb96"
915
+ }
916
+ },
917
+ {
918
+ "kind": "resolution",
919
+ "identity": "pg_catalog.\"substring\"(bytea,integer,integer)",
920
+ "payload": {
921
+ "acl": null,
922
+ "kind": "f",
923
+ "owner": "supabase_admin",
924
+ "definition_md5": "373f3ff87b282af6efd86c55f5c81756"
925
+ }
926
+ },
927
+ {
928
+ "kind": "resolution",
929
+ "identity": "pg_catalog.\"substring\"(bytea,integer)",
930
+ "payload": {
931
+ "acl": null,
932
+ "kind": "f",
933
+ "owner": "supabase_admin",
934
+ "definition_md5": "6f822a8923dc80bf689dbcb710f53649"
935
+ }
936
+ },
937
+ {
938
+ "kind": "resolution",
939
+ "identity": "pg_catalog.\"substring\"(text,integer,integer)",
940
+ "payload": {
941
+ "acl": null,
942
+ "kind": "f",
943
+ "owner": "supabase_admin",
944
+ "definition_md5": "3b388a9cdbcef7bb72f388c035f5f4cb"
945
+ }
946
+ },
947
+ {
948
+ "kind": "resolution",
949
+ "identity": "pg_catalog.\"substring\"(text,integer)",
950
+ "payload": {
951
+ "acl": null,
952
+ "kind": "f",
953
+ "owner": "supabase_admin",
954
+ "definition_md5": "6dc6c186021a5d77ff75fea120d7eb74"
955
+ }
956
+ },
957
+ {
958
+ "kind": "primitive",
959
+ "identity": "pg_catalog.\"substring\"(text,integer)",
960
+ "payload": {
961
+ "acl": null,
962
+ "kind": "f",
963
+ "owner": "supabase_admin",
964
+ "definition_md5": "6dc6c186021a5d77ff75fea120d7eb74"
965
+ }
966
+ },
967
+ {
968
+ "kind": "resolution",
969
+ "identity": "pg_catalog.\"substring\"(text,text,text)",
970
+ "payload": {
971
+ "acl": null,
972
+ "kind": "f",
973
+ "owner": "supabase_admin",
974
+ "definition_md5": "94d08ea173196dd12f0edf14e76982fa"
975
+ }
976
+ },
977
+ {
978
+ "kind": "resolution",
979
+ "identity": "pg_catalog.\"substring\"(text,text)",
980
+ "payload": {
981
+ "acl": null,
982
+ "kind": "f",
983
+ "owner": "supabase_admin",
984
+ "definition_md5": "e24d2405d6f43b0e6a644cf4480b03e9"
985
+ }
986
+ },
987
+ {
988
+ "kind": "resolution",
989
+ "identity": "pg_catalog.chr(integer)",
990
+ "payload": {
991
+ "acl": null,
992
+ "kind": "f",
993
+ "owner": "supabase_admin",
994
+ "definition_md5": "0167cc0b9f32f623fd2558a840bad57a"
995
+ }
996
+ },
997
+ {
998
+ "kind": "primitive",
999
+ "identity": "pg_catalog.chr(integer)",
1000
+ "payload": {
1001
+ "acl": null,
1002
+ "kind": "f",
1003
+ "owner": "supabase_admin",
1004
+ "definition_md5": "0167cc0b9f32f623fd2558a840bad57a"
1005
+ }
1006
+ },
1007
+ {
1008
+ "kind": "resolution",
1009
+ "identity": "pg_catalog.date_trunc(text,interval)",
1010
+ "payload": {
1011
+ "acl": null,
1012
+ "kind": "f",
1013
+ "owner": "supabase_admin",
1014
+ "definition_md5": "4c9718234aca94040f7cb38f9c71e416"
1015
+ }
1016
+ },
1017
+ {
1018
+ "kind": "primitive",
1019
+ "identity": "pg_catalog.date_trunc(text,interval)",
1020
+ "payload": {
1021
+ "acl": null,
1022
+ "kind": "f",
1023
+ "owner": "supabase_admin",
1024
+ "definition_md5": "4c9718234aca94040f7cb38f9c71e416"
1025
+ }
1026
+ },
1027
+ {
1028
+ "kind": "resolution",
1029
+ "identity": "pg_catalog.date_trunc(text,timestamp with time zone,text)",
1030
+ "payload": {
1031
+ "acl": null,
1032
+ "kind": "f",
1033
+ "owner": "supabase_admin",
1034
+ "definition_md5": "de4fc41f7db45432f25b93e4d0c3c018"
1035
+ }
1036
+ },
1037
+ {
1038
+ "kind": "primitive",
1039
+ "identity": "pg_catalog.date_trunc(text,timestamp with time zone,text)",
1040
+ "payload": {
1041
+ "acl": null,
1042
+ "kind": "f",
1043
+ "owner": "supabase_admin",
1044
+ "definition_md5": "de4fc41f7db45432f25b93e4d0c3c018"
1045
+ }
1046
+ },
1047
+ {
1048
+ "kind": "resolution",
1049
+ "identity": "pg_catalog.date_trunc(text,timestamp with time zone)",
1050
+ "payload": {
1051
+ "acl": null,
1052
+ "kind": "f",
1053
+ "owner": "supabase_admin",
1054
+ "definition_md5": "6c53c74859710a79235211cee6a38ccd"
1055
+ }
1056
+ },
1057
+ {
1058
+ "kind": "primitive",
1059
+ "identity": "pg_catalog.date_trunc(text,timestamp with time zone)",
1060
+ "payload": {
1061
+ "acl": null,
1062
+ "kind": "f",
1063
+ "owner": "supabase_admin",
1064
+ "definition_md5": "6c53c74859710a79235211cee6a38ccd"
1065
+ }
1066
+ },
1067
+ {
1068
+ "kind": "resolution",
1069
+ "identity": "pg_catalog.date_trunc(text,timestamp without time zone)",
1070
+ "payload": {
1071
+ "acl": null,
1072
+ "kind": "f",
1073
+ "owner": "supabase_admin",
1074
+ "definition_md5": "c1fb4b7281af95711c60168c560fab27"
1075
+ }
1076
+ },
1077
+ {
1078
+ "kind": "primitive",
1079
+ "identity": "pg_catalog.date_trunc(text,timestamp without time zone)",
1080
+ "payload": {
1081
+ "acl": null,
1082
+ "kind": "f",
1083
+ "owner": "supabase_admin",
1084
+ "definition_md5": "c1fb4b7281af95711c60168c560fab27"
1085
+ }
1086
+ },
1087
+ {
1088
+ "kind": "resolution",
1089
+ "identity": "pg_catalog.format(text,\"any\")",
1090
+ "payload": {
1091
+ "acl": null,
1092
+ "kind": "f",
1093
+ "owner": "supabase_admin",
1094
+ "definition_md5": "a63ee6a9e9808f856a9f9ba83507e58b"
1095
+ }
1096
+ },
1097
+ {
1098
+ "kind": "primitive",
1099
+ "identity": "pg_catalog.format(text,\"any\")",
1100
+ "payload": {
1101
+ "acl": null,
1102
+ "kind": "f",
1103
+ "owner": "supabase_admin",
1104
+ "definition_md5": "a63ee6a9e9808f856a9f9ba83507e58b"
1105
+ }
1106
+ },
1107
+ {
1108
+ "kind": "resolution",
1109
+ "identity": "pg_catalog.format(text)",
1110
+ "payload": {
1111
+ "acl": null,
1112
+ "kind": "f",
1113
+ "owner": "supabase_admin",
1114
+ "definition_md5": "f4307751d2aab933a147fa4614725f4e"
1115
+ }
1116
+ },
1117
+ {
1118
+ "kind": "primitive",
1119
+ "identity": "pg_catalog.format(text)",
1120
+ "payload": {
1121
+ "acl": null,
1122
+ "kind": "f",
1123
+ "owner": "supabase_admin",
1124
+ "definition_md5": "f4307751d2aab933a147fa4614725f4e"
1125
+ }
1126
+ },
1127
+ {
1128
+ "kind": "resolution",
1129
+ "identity": "pg_catalog.gen_random_uuid()",
1130
+ "payload": {
1131
+ "acl": null,
1132
+ "kind": "f",
1133
+ "owner": "supabase_admin",
1134
+ "definition_md5": "69e5ed43254816bf6d614bf2f5d32363"
1135
+ }
1136
+ },
1137
+ {
1138
+ "kind": "primitive",
1139
+ "identity": "pg_catalog.gen_random_uuid()",
1140
+ "payload": {
1141
+ "acl": null,
1142
+ "kind": "f",
1143
+ "owner": "supabase_admin",
1144
+ "definition_md5": "69e5ed43254816bf6d614bf2f5d32363"
1145
+ }
1146
+ },
1147
+ {
1148
+ "kind": "resolution",
1149
+ "identity": "pg_catalog.int4gt(integer,integer)",
1150
+ "payload": {
1151
+ "acl": null,
1152
+ "kind": "f",
1153
+ "owner": "supabase_admin",
1154
+ "definition_md5": "f179b908445ea70b998c8f9cee622b28"
1155
+ }
1156
+ },
1157
+ {
1158
+ "kind": "primitive",
1159
+ "identity": "pg_catalog.int4gt(integer,integer)",
1160
+ "payload": {
1161
+ "acl": null,
1162
+ "kind": "f",
1163
+ "owner": "supabase_admin",
1164
+ "definition_md5": "f179b908445ea70b998c8f9cee622b28"
1165
+ }
1166
+ },
1167
+ {
1168
+ "kind": "resolution",
1169
+ "identity": "pg_catalog.int4mi(integer,integer)",
1170
+ "payload": {
1171
+ "acl": null,
1172
+ "kind": "f",
1173
+ "owner": "supabase_admin",
1174
+ "definition_md5": "e85a08887862a6f2368cc5893df06af0"
1175
+ }
1176
+ },
1177
+ {
1178
+ "kind": "primitive",
1179
+ "identity": "pg_catalog.int4mi(integer,integer)",
1180
+ "payload": {
1181
+ "acl": null,
1182
+ "kind": "f",
1183
+ "owner": "supabase_admin",
1184
+ "definition_md5": "e85a08887862a6f2368cc5893df06af0"
1185
+ }
1186
+ },
1187
+ {
1188
+ "kind": "resolution",
1189
+ "identity": "pg_catalog.int4pl(integer,integer)",
1190
+ "payload": {
1191
+ "acl": null,
1192
+ "kind": "f",
1193
+ "owner": "supabase_admin",
1194
+ "definition_md5": "3ccea6a0b0f49248c2e27b5f62b55fb3"
1195
+ }
1196
+ },
1197
+ {
1198
+ "kind": "primitive",
1199
+ "identity": "pg_catalog.int4pl(integer,integer)",
1200
+ "payload": {
1201
+ "acl": null,
1202
+ "kind": "f",
1203
+ "owner": "supabase_admin",
1204
+ "definition_md5": "3ccea6a0b0f49248c2e27b5f62b55fb3"
1205
+ }
1206
+ },
1207
+ {
1208
+ "kind": "resolution",
1209
+ "identity": "pg_catalog.int8(bit)",
1210
+ "payload": {
1211
+ "acl": null,
1212
+ "kind": "f",
1213
+ "owner": "supabase_admin",
1214
+ "definition_md5": "30c817a9a59f954dd2d808b191d151f2"
1215
+ }
1216
+ },
1217
+ {
1218
+ "kind": "resolution",
1219
+ "identity": "pg_catalog.int8(double precision)",
1220
+ "payload": {
1221
+ "acl": null,
1222
+ "kind": "f",
1223
+ "owner": "supabase_admin",
1224
+ "definition_md5": "6750704c16bab0f3832bd5a2c25e37c9"
1225
+ }
1226
+ },
1227
+ {
1228
+ "kind": "resolution",
1229
+ "identity": "pg_catalog.int8(integer)",
1230
+ "payload": {
1231
+ "acl": null,
1232
+ "kind": "f",
1233
+ "owner": "supabase_admin",
1234
+ "definition_md5": "d095fb62ac2613a89fe0375db471022e"
1235
+ }
1236
+ },
1237
+ {
1238
+ "kind": "primitive",
1239
+ "identity": "pg_catalog.int8(integer)",
1240
+ "payload": {
1241
+ "acl": null,
1242
+ "kind": "f",
1243
+ "owner": "supabase_admin",
1244
+ "definition_md5": "d095fb62ac2613a89fe0375db471022e"
1245
+ }
1246
+ },
1247
+ {
1248
+ "kind": "resolution",
1249
+ "identity": "pg_catalog.int8(jsonb)",
1250
+ "payload": {
1251
+ "acl": null,
1252
+ "kind": "f",
1253
+ "owner": "supabase_admin",
1254
+ "definition_md5": "938f8be42b7ee4686aca01f6224b9f8e"
1255
+ }
1256
+ },
1257
+ {
1258
+ "kind": "resolution",
1259
+ "identity": "pg_catalog.int8(numeric)",
1260
+ "payload": {
1261
+ "acl": null,
1262
+ "kind": "f",
1263
+ "owner": "supabase_admin",
1264
+ "definition_md5": "e44cf3eca36c6b8de0f8028885c29525"
1265
+ }
1266
+ },
1267
+ {
1268
+ "kind": "resolution",
1269
+ "identity": "pg_catalog.int8(oid)",
1270
+ "payload": {
1271
+ "acl": null,
1272
+ "kind": "f",
1273
+ "owner": "supabase_admin",
1274
+ "definition_md5": "ce7ae5123b4293c254fb97c391e77765"
1275
+ }
1276
+ },
1277
+ {
1278
+ "kind": "resolution",
1279
+ "identity": "pg_catalog.int8(real)",
1280
+ "payload": {
1281
+ "acl": null,
1282
+ "kind": "f",
1283
+ "owner": "supabase_admin",
1284
+ "definition_md5": "623a75ecc5c9d34dcac5eaab9c182afe"
1285
+ }
1286
+ },
1287
+ {
1288
+ "kind": "resolution",
1289
+ "identity": "pg_catalog.int8(smallint)",
1290
+ "payload": {
1291
+ "acl": null,
1292
+ "kind": "f",
1293
+ "owner": "supabase_admin",
1294
+ "definition_md5": "407da38dd2aea75ccb956bd88216033c"
1295
+ }
1296
+ },
1297
+ {
1298
+ "kind": "resolution",
1299
+ "identity": "pg_catalog.length(bit)",
1300
+ "payload": {
1301
+ "acl": null,
1302
+ "kind": "f",
1303
+ "owner": "supabase_admin",
1304
+ "definition_md5": "27c0caf4f1c250399f8afbfc86cd396a"
1305
+ }
1306
+ },
1307
+ {
1308
+ "kind": "resolution",
1309
+ "identity": "pg_catalog.length(bytea,name)",
1310
+ "payload": {
1311
+ "acl": null,
1312
+ "kind": "f",
1313
+ "owner": "supabase_admin",
1314
+ "definition_md5": "5dfcd2feb436abf5f14a039752211930"
1315
+ }
1316
+ },
1317
+ {
1318
+ "kind": "resolution",
1319
+ "identity": "pg_catalog.length(bytea)",
1320
+ "payload": {
1321
+ "acl": null,
1322
+ "kind": "f",
1323
+ "owner": "supabase_admin",
1324
+ "definition_md5": "d74e5626fb0b85d8e43559be989042da"
1325
+ }
1326
+ },
1327
+ {
1328
+ "kind": "resolution",
1329
+ "identity": "pg_catalog.length(character)",
1330
+ "payload": {
1331
+ "acl": null,
1332
+ "kind": "f",
1333
+ "owner": "supabase_admin",
1334
+ "definition_md5": "4d4b9dbbb0cef7a998fc08e42100a35c"
1335
+ }
1336
+ },
1337
+ {
1338
+ "kind": "resolution",
1339
+ "identity": "pg_catalog.length(lseg)",
1340
+ "payload": {
1341
+ "acl": null,
1342
+ "kind": "f",
1343
+ "owner": "supabase_admin",
1344
+ "definition_md5": "f223377b0ef9262d9a9184b806b1989f"
1345
+ }
1346
+ },
1347
+ {
1348
+ "kind": "resolution",
1349
+ "identity": "pg_catalog.length(path)",
1350
+ "payload": {
1351
+ "acl": null,
1352
+ "kind": "f",
1353
+ "owner": "supabase_admin",
1354
+ "definition_md5": "8960d92ae3871a203bbe907547820d88"
1355
+ }
1356
+ },
1357
+ {
1358
+ "kind": "resolution",
1359
+ "identity": "pg_catalog.length(text)",
1360
+ "payload": {
1361
+ "acl": null,
1362
+ "kind": "f",
1363
+ "owner": "supabase_admin",
1364
+ "definition_md5": "0d07075a94df346087ad51b57dd0300c"
1365
+ }
1366
+ },
1367
+ {
1368
+ "kind": "primitive",
1369
+ "identity": "pg_catalog.length(text)",
1370
+ "payload": {
1371
+ "acl": null,
1372
+ "kind": "f",
1373
+ "owner": "supabase_admin",
1374
+ "definition_md5": "0d07075a94df346087ad51b57dd0300c"
1375
+ }
1376
+ },
1377
+ {
1378
+ "kind": "resolution",
1379
+ "identity": "pg_catalog.length(tsvector)",
1380
+ "payload": {
1381
+ "acl": null,
1382
+ "kind": "f",
1383
+ "owner": "supabase_admin",
1384
+ "definition_md5": "fe24113ccd3bcaf4bcbc24cbf6d59d37"
1385
+ }
1386
+ },
1387
+ {
1388
+ "kind": "resolution",
1389
+ "identity": "pg_catalog.lower(anymultirange)",
1390
+ "payload": {
1391
+ "acl": null,
1392
+ "kind": "f",
1393
+ "owner": "supabase_admin",
1394
+ "definition_md5": "10f67b11b03724f301725b812e414c9a"
1395
+ }
1396
+ },
1397
+ {
1398
+ "kind": "primitive",
1399
+ "identity": "pg_catalog.lower(anymultirange)",
1400
+ "payload": {
1401
+ "acl": null,
1402
+ "kind": "f",
1403
+ "owner": "supabase_admin",
1404
+ "definition_md5": "10f67b11b03724f301725b812e414c9a"
1405
+ }
1406
+ },
1407
+ {
1408
+ "kind": "resolution",
1409
+ "identity": "pg_catalog.lower(anyrange)",
1410
+ "payload": {
1411
+ "acl": null,
1412
+ "kind": "f",
1413
+ "owner": "supabase_admin",
1414
+ "definition_md5": "0b56765c35eecfa5d18f4c94878c4927"
1415
+ }
1416
+ },
1417
+ {
1418
+ "kind": "primitive",
1419
+ "identity": "pg_catalog.lower(anyrange)",
1420
+ "payload": {
1421
+ "acl": null,
1422
+ "kind": "f",
1423
+ "owner": "supabase_admin",
1424
+ "definition_md5": "0b56765c35eecfa5d18f4c94878c4927"
1425
+ }
1426
+ },
1427
+ {
1428
+ "kind": "resolution",
1429
+ "identity": "pg_catalog.lower(text)",
1430
+ "payload": {
1431
+ "acl": null,
1432
+ "kind": "f",
1433
+ "owner": "supabase_admin",
1434
+ "definition_md5": "b710e2155decb80fa6cbad326d53c850"
1435
+ }
1436
+ },
1437
+ {
1438
+ "kind": "primitive",
1439
+ "identity": "pg_catalog.lower(text)",
1440
+ "payload": {
1441
+ "acl": null,
1442
+ "kind": "f",
1443
+ "owner": "supabase_admin",
1444
+ "definition_md5": "b710e2155decb80fa6cbad326d53c850"
1445
+ }
1446
+ },
1447
+ {
1448
+ "kind": "resolution",
1449
+ "identity": "pg_catalog.min(anyarray)",
1450
+ "payload": {
1451
+ "acl": null,
1452
+ "cost": 1,
1453
+ "kind": "a",
1454
+ "rows": 0,
1455
+ "owner": "supabase_admin",
1456
+ "result": "pg_catalog.anyarray",
1457
+ "source": "aggregate_dummy",
1458
+ "strict": false,
1459
+ "aggkind": "n",
1460
+ "library": null,
1461
+ "support": null,
1462
+ "aggfnoid": "pg_catalog.min(anyarray)",
1463
+ "parallel": "s",
1464
+ "settings": null,
1465
+ "variadic": null,
1466
+ "arguments": "anyarray",
1467
+ "leakproof": false,
1468
+ "aggfinalfn": null,
1469
+ "agginitval": null,
1470
+ "aggtransfn": "pg_catalog.array_smaller(anyarray,anyarray)",
1471
+ "volatility": "i",
1472
+ "aggmfinalfn": null,
1473
+ "aggminitval": null,
1474
+ "aggmtransfn": null,
1475
+ "aggserialfn": null,
1476
+ "moving_type": null,
1477
+ "aggcombinefn": "pg_catalog.array_smaller(anyarray,anyarray)",
1478
+ "aggdeserialfn": null,
1479
+ "aggfinalextra": false,
1480
+ "aggtransspace": 0,
1481
+ "sort_operator": "pg_catalog.<(pg_catalog.anyarray,pg_catalog.anyarray)",
1482
+ "aggfinalmodify": "r",
1483
+ "aggmfinalextra": false,
1484
+ "aggminvtransfn": null,
1485
+ "aggmtransspace": 0,
1486
+ "argument_modes": null,
1487
+ "argument_names": null,
1488
+ "aggmfinalmodify": "r",
1489
+ "transition_type": "pg_catalog.anyarray",
1490
+ "aggnumdirectargs": 0,
1491
+ "security_definer": false
1492
+ }
1493
+ },
1494
+ {
1495
+ "kind": "resolution",
1496
+ "identity": "pg_catalog.min(anyenum)",
1497
+ "payload": {
1498
+ "acl": null,
1499
+ "cost": 1,
1500
+ "kind": "a",
1501
+ "rows": 0,
1502
+ "owner": "supabase_admin",
1503
+ "result": "pg_catalog.anyenum",
1504
+ "source": "aggregate_dummy",
1505
+ "strict": false,
1506
+ "aggkind": "n",
1507
+ "library": null,
1508
+ "support": null,
1509
+ "aggfnoid": "pg_catalog.min(anyenum)",
1510
+ "parallel": "s",
1511
+ "settings": null,
1512
+ "variadic": null,
1513
+ "arguments": "anyenum",
1514
+ "leakproof": false,
1515
+ "aggfinalfn": null,
1516
+ "agginitval": null,
1517
+ "aggtransfn": "pg_catalog.enum_smaller(anyenum,anyenum)",
1518
+ "volatility": "i",
1519
+ "aggmfinalfn": null,
1520
+ "aggminitval": null,
1521
+ "aggmtransfn": null,
1522
+ "aggserialfn": null,
1523
+ "moving_type": null,
1524
+ "aggcombinefn": "pg_catalog.enum_smaller(anyenum,anyenum)",
1525
+ "aggdeserialfn": null,
1526
+ "aggfinalextra": false,
1527
+ "aggtransspace": 0,
1528
+ "sort_operator": "pg_catalog.<(pg_catalog.anyenum,pg_catalog.anyenum)",
1529
+ "aggfinalmodify": "r",
1530
+ "aggmfinalextra": false,
1531
+ "aggminvtransfn": null,
1532
+ "aggmtransspace": 0,
1533
+ "argument_modes": null,
1534
+ "argument_names": null,
1535
+ "aggmfinalmodify": "r",
1536
+ "transition_type": "pg_catalog.anyenum",
1537
+ "aggnumdirectargs": 0,
1538
+ "security_definer": false
1539
+ }
1540
+ },
1541
+ {
1542
+ "kind": "resolution",
1543
+ "identity": "pg_catalog.min(bigint)",
1544
+ "payload": {
1545
+ "acl": null,
1546
+ "cost": 1,
1547
+ "kind": "a",
1548
+ "rows": 0,
1549
+ "owner": "supabase_admin",
1550
+ "result": "pg_catalog.int8",
1551
+ "source": "aggregate_dummy",
1552
+ "strict": false,
1553
+ "aggkind": "n",
1554
+ "library": null,
1555
+ "support": null,
1556
+ "aggfnoid": "pg_catalog.min(bigint)",
1557
+ "parallel": "s",
1558
+ "settings": null,
1559
+ "variadic": null,
1560
+ "arguments": "bigint",
1561
+ "leakproof": false,
1562
+ "aggfinalfn": null,
1563
+ "agginitval": null,
1564
+ "aggtransfn": "pg_catalog.int8smaller(bigint,bigint)",
1565
+ "volatility": "i",
1566
+ "aggmfinalfn": null,
1567
+ "aggminitval": null,
1568
+ "aggmtransfn": null,
1569
+ "aggserialfn": null,
1570
+ "moving_type": null,
1571
+ "aggcombinefn": "pg_catalog.int8smaller(bigint,bigint)",
1572
+ "aggdeserialfn": null,
1573
+ "aggfinalextra": false,
1574
+ "aggtransspace": 0,
1575
+ "sort_operator": "pg_catalog.<(pg_catalog.int8,pg_catalog.int8)",
1576
+ "aggfinalmodify": "r",
1577
+ "aggmfinalextra": false,
1578
+ "aggminvtransfn": null,
1579
+ "aggmtransspace": 0,
1580
+ "argument_modes": null,
1581
+ "argument_names": null,
1582
+ "aggmfinalmodify": "r",
1583
+ "transition_type": "pg_catalog.int8",
1584
+ "aggnumdirectargs": 0,
1585
+ "security_definer": false
1586
+ }
1587
+ },
1588
+ {
1589
+ "kind": "resolution",
1590
+ "identity": "pg_catalog.min(character)",
1591
+ "payload": {
1592
+ "acl": null,
1593
+ "cost": 1,
1594
+ "kind": "a",
1595
+ "rows": 0,
1596
+ "owner": "supabase_admin",
1597
+ "result": "pg_catalog.bpchar",
1598
+ "source": "aggregate_dummy",
1599
+ "strict": false,
1600
+ "aggkind": "n",
1601
+ "library": null,
1602
+ "support": null,
1603
+ "aggfnoid": "pg_catalog.min(character)",
1604
+ "parallel": "s",
1605
+ "settings": null,
1606
+ "variadic": null,
1607
+ "arguments": "character",
1608
+ "leakproof": false,
1609
+ "aggfinalfn": null,
1610
+ "agginitval": null,
1611
+ "aggtransfn": "pg_catalog.bpchar_smaller(character,character)",
1612
+ "volatility": "i",
1613
+ "aggmfinalfn": null,
1614
+ "aggminitval": null,
1615
+ "aggmtransfn": null,
1616
+ "aggserialfn": null,
1617
+ "moving_type": null,
1618
+ "aggcombinefn": "pg_catalog.bpchar_smaller(character,character)",
1619
+ "aggdeserialfn": null,
1620
+ "aggfinalextra": false,
1621
+ "aggtransspace": 0,
1622
+ "sort_operator": "pg_catalog.<(pg_catalog.bpchar,pg_catalog.bpchar)",
1623
+ "aggfinalmodify": "r",
1624
+ "aggmfinalextra": false,
1625
+ "aggminvtransfn": null,
1626
+ "aggmtransspace": 0,
1627
+ "argument_modes": null,
1628
+ "argument_names": null,
1629
+ "aggmfinalmodify": "r",
1630
+ "transition_type": "pg_catalog.bpchar",
1631
+ "aggnumdirectargs": 0,
1632
+ "security_definer": false
1633
+ }
1634
+ },
1635
+ {
1636
+ "kind": "resolution",
1637
+ "identity": "pg_catalog.min(date)",
1638
+ "payload": {
1639
+ "acl": null,
1640
+ "cost": 1,
1641
+ "kind": "a",
1642
+ "rows": 0,
1643
+ "owner": "supabase_admin",
1644
+ "result": "pg_catalog.date",
1645
+ "source": "aggregate_dummy",
1646
+ "strict": false,
1647
+ "aggkind": "n",
1648
+ "library": null,
1649
+ "support": null,
1650
+ "aggfnoid": "pg_catalog.min(date)",
1651
+ "parallel": "s",
1652
+ "settings": null,
1653
+ "variadic": null,
1654
+ "arguments": "date",
1655
+ "leakproof": false,
1656
+ "aggfinalfn": null,
1657
+ "agginitval": null,
1658
+ "aggtransfn": "pg_catalog.date_smaller(date,date)",
1659
+ "volatility": "i",
1660
+ "aggmfinalfn": null,
1661
+ "aggminitval": null,
1662
+ "aggmtransfn": null,
1663
+ "aggserialfn": null,
1664
+ "moving_type": null,
1665
+ "aggcombinefn": "pg_catalog.date_smaller(date,date)",
1666
+ "aggdeserialfn": null,
1667
+ "aggfinalextra": false,
1668
+ "aggtransspace": 0,
1669
+ "sort_operator": "pg_catalog.<(pg_catalog.date,pg_catalog.date)",
1670
+ "aggfinalmodify": "r",
1671
+ "aggmfinalextra": false,
1672
+ "aggminvtransfn": null,
1673
+ "aggmtransspace": 0,
1674
+ "argument_modes": null,
1675
+ "argument_names": null,
1676
+ "aggmfinalmodify": "r",
1677
+ "transition_type": "pg_catalog.date",
1678
+ "aggnumdirectargs": 0,
1679
+ "security_definer": false
1680
+ }
1681
+ },
1682
+ {
1683
+ "kind": "resolution",
1684
+ "identity": "pg_catalog.min(double precision)",
1685
+ "payload": {
1686
+ "acl": null,
1687
+ "cost": 1,
1688
+ "kind": "a",
1689
+ "rows": 0,
1690
+ "owner": "supabase_admin",
1691
+ "result": "pg_catalog.float8",
1692
+ "source": "aggregate_dummy",
1693
+ "strict": false,
1694
+ "aggkind": "n",
1695
+ "library": null,
1696
+ "support": null,
1697
+ "aggfnoid": "pg_catalog.min(double precision)",
1698
+ "parallel": "s",
1699
+ "settings": null,
1700
+ "variadic": null,
1701
+ "arguments": "double precision",
1702
+ "leakproof": false,
1703
+ "aggfinalfn": null,
1704
+ "agginitval": null,
1705
+ "aggtransfn": "pg_catalog.float8smaller(double precision,double precision)",
1706
+ "volatility": "i",
1707
+ "aggmfinalfn": null,
1708
+ "aggminitval": null,
1709
+ "aggmtransfn": null,
1710
+ "aggserialfn": null,
1711
+ "moving_type": null,
1712
+ "aggcombinefn": "pg_catalog.float8smaller(double precision,double precision)",
1713
+ "aggdeserialfn": null,
1714
+ "aggfinalextra": false,
1715
+ "aggtransspace": 0,
1716
+ "sort_operator": "pg_catalog.<(pg_catalog.float8,pg_catalog.float8)",
1717
+ "aggfinalmodify": "r",
1718
+ "aggmfinalextra": false,
1719
+ "aggminvtransfn": null,
1720
+ "aggmtransspace": 0,
1721
+ "argument_modes": null,
1722
+ "argument_names": null,
1723
+ "aggmfinalmodify": "r",
1724
+ "transition_type": "pg_catalog.float8",
1725
+ "aggnumdirectargs": 0,
1726
+ "security_definer": false
1727
+ }
1728
+ },
1729
+ {
1730
+ "kind": "resolution",
1731
+ "identity": "pg_catalog.min(inet)",
1732
+ "payload": {
1733
+ "acl": null,
1734
+ "cost": 1,
1735
+ "kind": "a",
1736
+ "rows": 0,
1737
+ "owner": "supabase_admin",
1738
+ "result": "pg_catalog.inet",
1739
+ "source": "aggregate_dummy",
1740
+ "strict": false,
1741
+ "aggkind": "n",
1742
+ "library": null,
1743
+ "support": null,
1744
+ "aggfnoid": "pg_catalog.min(inet)",
1745
+ "parallel": "s",
1746
+ "settings": null,
1747
+ "variadic": null,
1748
+ "arguments": "inet",
1749
+ "leakproof": false,
1750
+ "aggfinalfn": null,
1751
+ "agginitval": null,
1752
+ "aggtransfn": "pg_catalog.network_smaller(inet,inet)",
1753
+ "volatility": "i",
1754
+ "aggmfinalfn": null,
1755
+ "aggminitval": null,
1756
+ "aggmtransfn": null,
1757
+ "aggserialfn": null,
1758
+ "moving_type": null,
1759
+ "aggcombinefn": "pg_catalog.network_smaller(inet,inet)",
1760
+ "aggdeserialfn": null,
1761
+ "aggfinalextra": false,
1762
+ "aggtransspace": 0,
1763
+ "sort_operator": "pg_catalog.<(pg_catalog.inet,pg_catalog.inet)",
1764
+ "aggfinalmodify": "r",
1765
+ "aggmfinalextra": false,
1766
+ "aggminvtransfn": null,
1767
+ "aggmtransspace": 0,
1768
+ "argument_modes": null,
1769
+ "argument_names": null,
1770
+ "aggmfinalmodify": "r",
1771
+ "transition_type": "pg_catalog.inet",
1772
+ "aggnumdirectargs": 0,
1773
+ "security_definer": false
1774
+ }
1775
+ },
1776
+ {
1777
+ "kind": "resolution",
1778
+ "identity": "pg_catalog.min(integer)",
1779
+ "payload": {
1780
+ "acl": null,
1781
+ "cost": 1,
1782
+ "kind": "a",
1783
+ "rows": 0,
1784
+ "owner": "supabase_admin",
1785
+ "result": "pg_catalog.int4",
1786
+ "source": "aggregate_dummy",
1787
+ "strict": false,
1788
+ "aggkind": "n",
1789
+ "library": null,
1790
+ "support": null,
1791
+ "aggfnoid": "pg_catalog.min(integer)",
1792
+ "parallel": "s",
1793
+ "settings": null,
1794
+ "variadic": null,
1795
+ "arguments": "integer",
1796
+ "leakproof": false,
1797
+ "aggfinalfn": null,
1798
+ "agginitval": null,
1799
+ "aggtransfn": "pg_catalog.int4smaller(integer,integer)",
1800
+ "volatility": "i",
1801
+ "aggmfinalfn": null,
1802
+ "aggminitval": null,
1803
+ "aggmtransfn": null,
1804
+ "aggserialfn": null,
1805
+ "moving_type": null,
1806
+ "aggcombinefn": "pg_catalog.int4smaller(integer,integer)",
1807
+ "aggdeserialfn": null,
1808
+ "aggfinalextra": false,
1809
+ "aggtransspace": 0,
1810
+ "sort_operator": "pg_catalog.<(pg_catalog.int4,pg_catalog.int4)",
1811
+ "aggfinalmodify": "r",
1812
+ "aggmfinalextra": false,
1813
+ "aggminvtransfn": null,
1814
+ "aggmtransspace": 0,
1815
+ "argument_modes": null,
1816
+ "argument_names": null,
1817
+ "aggmfinalmodify": "r",
1818
+ "transition_type": "pg_catalog.int4",
1819
+ "aggnumdirectargs": 0,
1820
+ "security_definer": false
1821
+ }
1822
+ },
1823
+ {
1824
+ "kind": "resolution",
1825
+ "identity": "pg_catalog.min(interval)",
1826
+ "payload": {
1827
+ "acl": null,
1828
+ "cost": 1,
1829
+ "kind": "a",
1830
+ "rows": 0,
1831
+ "owner": "supabase_admin",
1832
+ "result": "pg_catalog.\"interval\"",
1833
+ "source": "aggregate_dummy",
1834
+ "strict": false,
1835
+ "aggkind": "n",
1836
+ "library": null,
1837
+ "support": null,
1838
+ "aggfnoid": "pg_catalog.min(interval)",
1839
+ "parallel": "s",
1840
+ "settings": null,
1841
+ "variadic": null,
1842
+ "arguments": "interval",
1843
+ "leakproof": false,
1844
+ "aggfinalfn": null,
1845
+ "agginitval": null,
1846
+ "aggtransfn": "pg_catalog.interval_smaller(interval,interval)",
1847
+ "volatility": "i",
1848
+ "aggmfinalfn": null,
1849
+ "aggminitval": null,
1850
+ "aggmtransfn": null,
1851
+ "aggserialfn": null,
1852
+ "moving_type": null,
1853
+ "aggcombinefn": "pg_catalog.interval_smaller(interval,interval)",
1854
+ "aggdeserialfn": null,
1855
+ "aggfinalextra": false,
1856
+ "aggtransspace": 0,
1857
+ "sort_operator": "pg_catalog.<(pg_catalog.\"interval\",pg_catalog.\"interval\")",
1858
+ "aggfinalmodify": "r",
1859
+ "aggmfinalextra": false,
1860
+ "aggminvtransfn": null,
1861
+ "aggmtransspace": 0,
1862
+ "argument_modes": null,
1863
+ "argument_names": null,
1864
+ "aggmfinalmodify": "r",
1865
+ "transition_type": "pg_catalog.\"interval\"",
1866
+ "aggnumdirectargs": 0,
1867
+ "security_definer": false
1868
+ }
1869
+ },
1870
+ {
1871
+ "kind": "resolution",
1872
+ "identity": "pg_catalog.min(money)",
1873
+ "payload": {
1874
+ "acl": null,
1875
+ "cost": 1,
1876
+ "kind": "a",
1877
+ "rows": 0,
1878
+ "owner": "supabase_admin",
1879
+ "result": "pg_catalog.money",
1880
+ "source": "aggregate_dummy",
1881
+ "strict": false,
1882
+ "aggkind": "n",
1883
+ "library": null,
1884
+ "support": null,
1885
+ "aggfnoid": "pg_catalog.min(money)",
1886
+ "parallel": "s",
1887
+ "settings": null,
1888
+ "variadic": null,
1889
+ "arguments": "money",
1890
+ "leakproof": false,
1891
+ "aggfinalfn": null,
1892
+ "agginitval": null,
1893
+ "aggtransfn": "pg_catalog.cashsmaller(money,money)",
1894
+ "volatility": "i",
1895
+ "aggmfinalfn": null,
1896
+ "aggminitval": null,
1897
+ "aggmtransfn": null,
1898
+ "aggserialfn": null,
1899
+ "moving_type": null,
1900
+ "aggcombinefn": "pg_catalog.cashsmaller(money,money)",
1901
+ "aggdeserialfn": null,
1902
+ "aggfinalextra": false,
1903
+ "aggtransspace": 0,
1904
+ "sort_operator": "pg_catalog.<(pg_catalog.money,pg_catalog.money)",
1905
+ "aggfinalmodify": "r",
1906
+ "aggmfinalextra": false,
1907
+ "aggminvtransfn": null,
1908
+ "aggmtransspace": 0,
1909
+ "argument_modes": null,
1910
+ "argument_names": null,
1911
+ "aggmfinalmodify": "r",
1912
+ "transition_type": "pg_catalog.money",
1913
+ "aggnumdirectargs": 0,
1914
+ "security_definer": false
1915
+ }
1916
+ },
1917
+ {
1918
+ "kind": "resolution",
1919
+ "identity": "pg_catalog.min(numeric)",
1920
+ "payload": {
1921
+ "acl": null,
1922
+ "cost": 1,
1923
+ "kind": "a",
1924
+ "rows": 0,
1925
+ "owner": "supabase_admin",
1926
+ "result": "pg_catalog.\"numeric\"",
1927
+ "source": "aggregate_dummy",
1928
+ "strict": false,
1929
+ "aggkind": "n",
1930
+ "library": null,
1931
+ "support": null,
1932
+ "aggfnoid": "pg_catalog.min(numeric)",
1933
+ "parallel": "s",
1934
+ "settings": null,
1935
+ "variadic": null,
1936
+ "arguments": "numeric",
1937
+ "leakproof": false,
1938
+ "aggfinalfn": null,
1939
+ "agginitval": null,
1940
+ "aggtransfn": "pg_catalog.numeric_smaller(numeric,numeric)",
1941
+ "volatility": "i",
1942
+ "aggmfinalfn": null,
1943
+ "aggminitval": null,
1944
+ "aggmtransfn": null,
1945
+ "aggserialfn": null,
1946
+ "moving_type": null,
1947
+ "aggcombinefn": "pg_catalog.numeric_smaller(numeric,numeric)",
1948
+ "aggdeserialfn": null,
1949
+ "aggfinalextra": false,
1950
+ "aggtransspace": 0,
1951
+ "sort_operator": "pg_catalog.<(pg_catalog.\"numeric\",pg_catalog.\"numeric\")",
1952
+ "aggfinalmodify": "r",
1953
+ "aggmfinalextra": false,
1954
+ "aggminvtransfn": null,
1955
+ "aggmtransspace": 0,
1956
+ "argument_modes": null,
1957
+ "argument_names": null,
1958
+ "aggmfinalmodify": "r",
1959
+ "transition_type": "pg_catalog.\"numeric\"",
1960
+ "aggnumdirectargs": 0,
1961
+ "security_definer": false
1962
+ }
1963
+ },
1964
+ {
1965
+ "kind": "resolution",
1966
+ "identity": "pg_catalog.min(oid)",
1967
+ "payload": {
1968
+ "acl": null,
1969
+ "cost": 1,
1970
+ "kind": "a",
1971
+ "rows": 0,
1972
+ "owner": "supabase_admin",
1973
+ "result": "pg_catalog.oid",
1974
+ "source": "aggregate_dummy",
1975
+ "strict": false,
1976
+ "aggkind": "n",
1977
+ "library": null,
1978
+ "support": null,
1979
+ "aggfnoid": "pg_catalog.min(oid)",
1980
+ "parallel": "s",
1981
+ "settings": null,
1982
+ "variadic": null,
1983
+ "arguments": "oid",
1984
+ "leakproof": false,
1985
+ "aggfinalfn": null,
1986
+ "agginitval": null,
1987
+ "aggtransfn": "pg_catalog.oidsmaller(oid,oid)",
1988
+ "volatility": "i",
1989
+ "aggmfinalfn": null,
1990
+ "aggminitval": null,
1991
+ "aggmtransfn": null,
1992
+ "aggserialfn": null,
1993
+ "moving_type": null,
1994
+ "aggcombinefn": "pg_catalog.oidsmaller(oid,oid)",
1995
+ "aggdeserialfn": null,
1996
+ "aggfinalextra": false,
1997
+ "aggtransspace": 0,
1998
+ "sort_operator": "pg_catalog.<(pg_catalog.oid,pg_catalog.oid)",
1999
+ "aggfinalmodify": "r",
2000
+ "aggmfinalextra": false,
2001
+ "aggminvtransfn": null,
2002
+ "aggmtransspace": 0,
2003
+ "argument_modes": null,
2004
+ "argument_names": null,
2005
+ "aggmfinalmodify": "r",
2006
+ "transition_type": "pg_catalog.oid",
2007
+ "aggnumdirectargs": 0,
2008
+ "security_definer": false
2009
+ }
2010
+ },
2011
+ {
2012
+ "kind": "resolution",
2013
+ "identity": "pg_catalog.min(pg_lsn)",
2014
+ "payload": {
2015
+ "acl": null,
2016
+ "cost": 1,
2017
+ "kind": "a",
2018
+ "rows": 0,
2019
+ "owner": "supabase_admin",
2020
+ "result": "pg_catalog.pg_lsn",
2021
+ "source": "aggregate_dummy",
2022
+ "strict": false,
2023
+ "aggkind": "n",
2024
+ "library": null,
2025
+ "support": null,
2026
+ "aggfnoid": "pg_catalog.min(pg_lsn)",
2027
+ "parallel": "s",
2028
+ "settings": null,
2029
+ "variadic": null,
2030
+ "arguments": "pg_lsn",
2031
+ "leakproof": false,
2032
+ "aggfinalfn": null,
2033
+ "agginitval": null,
2034
+ "aggtransfn": "pg_catalog.pg_lsn_smaller(pg_lsn,pg_lsn)",
2035
+ "volatility": "i",
2036
+ "aggmfinalfn": null,
2037
+ "aggminitval": null,
2038
+ "aggmtransfn": null,
2039
+ "aggserialfn": null,
2040
+ "moving_type": null,
2041
+ "aggcombinefn": "pg_catalog.pg_lsn_smaller(pg_lsn,pg_lsn)",
2042
+ "aggdeserialfn": null,
2043
+ "aggfinalextra": false,
2044
+ "aggtransspace": 0,
2045
+ "sort_operator": "pg_catalog.<(pg_catalog.pg_lsn,pg_catalog.pg_lsn)",
2046
+ "aggfinalmodify": "r",
2047
+ "aggmfinalextra": false,
2048
+ "aggminvtransfn": null,
2049
+ "aggmtransspace": 0,
2050
+ "argument_modes": null,
2051
+ "argument_names": null,
2052
+ "aggmfinalmodify": "r",
2053
+ "transition_type": "pg_catalog.pg_lsn",
2054
+ "aggnumdirectargs": 0,
2055
+ "security_definer": false
2056
+ }
2057
+ },
2058
+ {
2059
+ "kind": "resolution",
2060
+ "identity": "pg_catalog.min(real)",
2061
+ "payload": {
2062
+ "acl": null,
2063
+ "cost": 1,
2064
+ "kind": "a",
2065
+ "rows": 0,
2066
+ "owner": "supabase_admin",
2067
+ "result": "pg_catalog.float4",
2068
+ "source": "aggregate_dummy",
2069
+ "strict": false,
2070
+ "aggkind": "n",
2071
+ "library": null,
2072
+ "support": null,
2073
+ "aggfnoid": "pg_catalog.min(real)",
2074
+ "parallel": "s",
2075
+ "settings": null,
2076
+ "variadic": null,
2077
+ "arguments": "real",
2078
+ "leakproof": false,
2079
+ "aggfinalfn": null,
2080
+ "agginitval": null,
2081
+ "aggtransfn": "pg_catalog.float4smaller(real,real)",
2082
+ "volatility": "i",
2083
+ "aggmfinalfn": null,
2084
+ "aggminitval": null,
2085
+ "aggmtransfn": null,
2086
+ "aggserialfn": null,
2087
+ "moving_type": null,
2088
+ "aggcombinefn": "pg_catalog.float4smaller(real,real)",
2089
+ "aggdeserialfn": null,
2090
+ "aggfinalextra": false,
2091
+ "aggtransspace": 0,
2092
+ "sort_operator": "pg_catalog.<(pg_catalog.float4,pg_catalog.float4)",
2093
+ "aggfinalmodify": "r",
2094
+ "aggmfinalextra": false,
2095
+ "aggminvtransfn": null,
2096
+ "aggmtransspace": 0,
2097
+ "argument_modes": null,
2098
+ "argument_names": null,
2099
+ "aggmfinalmodify": "r",
2100
+ "transition_type": "pg_catalog.float4",
2101
+ "aggnumdirectargs": 0,
2102
+ "security_definer": false
2103
+ }
2104
+ },
2105
+ {
2106
+ "kind": "resolution",
2107
+ "identity": "pg_catalog.min(smallint)",
2108
+ "payload": {
2109
+ "acl": null,
2110
+ "cost": 1,
2111
+ "kind": "a",
2112
+ "rows": 0,
2113
+ "owner": "supabase_admin",
2114
+ "result": "pg_catalog.int2",
2115
+ "source": "aggregate_dummy",
2116
+ "strict": false,
2117
+ "aggkind": "n",
2118
+ "library": null,
2119
+ "support": null,
2120
+ "aggfnoid": "pg_catalog.min(smallint)",
2121
+ "parallel": "s",
2122
+ "settings": null,
2123
+ "variadic": null,
2124
+ "arguments": "smallint",
2125
+ "leakproof": false,
2126
+ "aggfinalfn": null,
2127
+ "agginitval": null,
2128
+ "aggtransfn": "pg_catalog.int2smaller(smallint,smallint)",
2129
+ "volatility": "i",
2130
+ "aggmfinalfn": null,
2131
+ "aggminitval": null,
2132
+ "aggmtransfn": null,
2133
+ "aggserialfn": null,
2134
+ "moving_type": null,
2135
+ "aggcombinefn": "pg_catalog.int2smaller(smallint,smallint)",
2136
+ "aggdeserialfn": null,
2137
+ "aggfinalextra": false,
2138
+ "aggtransspace": 0,
2139
+ "sort_operator": "pg_catalog.<(pg_catalog.int2,pg_catalog.int2)",
2140
+ "aggfinalmodify": "r",
2141
+ "aggmfinalextra": false,
2142
+ "aggminvtransfn": null,
2143
+ "aggmtransspace": 0,
2144
+ "argument_modes": null,
2145
+ "argument_names": null,
2146
+ "aggmfinalmodify": "r",
2147
+ "transition_type": "pg_catalog.int2",
2148
+ "aggnumdirectargs": 0,
2149
+ "security_definer": false
2150
+ }
2151
+ },
2152
+ {
2153
+ "kind": "resolution",
2154
+ "identity": "pg_catalog.min(text)",
2155
+ "payload": {
2156
+ "acl": null,
2157
+ "cost": 1,
2158
+ "kind": "a",
2159
+ "rows": 0,
2160
+ "owner": "supabase_admin",
2161
+ "result": "pg_catalog.text",
2162
+ "source": "aggregate_dummy",
2163
+ "strict": false,
2164
+ "aggkind": "n",
2165
+ "library": null,
2166
+ "support": null,
2167
+ "aggfnoid": "pg_catalog.min(text)",
2168
+ "parallel": "s",
2169
+ "settings": null,
2170
+ "variadic": null,
2171
+ "arguments": "text",
2172
+ "leakproof": false,
2173
+ "aggfinalfn": null,
2174
+ "agginitval": null,
2175
+ "aggtransfn": "pg_catalog.text_smaller(text,text)",
2176
+ "volatility": "i",
2177
+ "aggmfinalfn": null,
2178
+ "aggminitval": null,
2179
+ "aggmtransfn": null,
2180
+ "aggserialfn": null,
2181
+ "moving_type": null,
2182
+ "aggcombinefn": "pg_catalog.text_smaller(text,text)",
2183
+ "aggdeserialfn": null,
2184
+ "aggfinalextra": false,
2185
+ "aggtransspace": 0,
2186
+ "sort_operator": "pg_catalog.<(pg_catalog.text,pg_catalog.text)",
2187
+ "aggfinalmodify": "r",
2188
+ "aggmfinalextra": false,
2189
+ "aggminvtransfn": null,
2190
+ "aggmtransspace": 0,
2191
+ "argument_modes": null,
2192
+ "argument_names": null,
2193
+ "aggmfinalmodify": "r",
2194
+ "transition_type": "pg_catalog.text",
2195
+ "aggnumdirectargs": 0,
2196
+ "security_definer": false
2197
+ }
2198
+ },
2199
+ {
2200
+ "kind": "resolution",
2201
+ "identity": "pg_catalog.min(tid)",
2202
+ "payload": {
2203
+ "acl": null,
2204
+ "cost": 1,
2205
+ "kind": "a",
2206
+ "rows": 0,
2207
+ "owner": "supabase_admin",
2208
+ "result": "pg_catalog.tid",
2209
+ "source": "aggregate_dummy",
2210
+ "strict": false,
2211
+ "aggkind": "n",
2212
+ "library": null,
2213
+ "support": null,
2214
+ "aggfnoid": "pg_catalog.min(tid)",
2215
+ "parallel": "s",
2216
+ "settings": null,
2217
+ "variadic": null,
2218
+ "arguments": "tid",
2219
+ "leakproof": false,
2220
+ "aggfinalfn": null,
2221
+ "agginitval": null,
2222
+ "aggtransfn": "pg_catalog.tidsmaller(tid,tid)",
2223
+ "volatility": "i",
2224
+ "aggmfinalfn": null,
2225
+ "aggminitval": null,
2226
+ "aggmtransfn": null,
2227
+ "aggserialfn": null,
2228
+ "moving_type": null,
2229
+ "aggcombinefn": "pg_catalog.tidsmaller(tid,tid)",
2230
+ "aggdeserialfn": null,
2231
+ "aggfinalextra": false,
2232
+ "aggtransspace": 0,
2233
+ "sort_operator": "pg_catalog.<(pg_catalog.tid,pg_catalog.tid)",
2234
+ "aggfinalmodify": "r",
2235
+ "aggmfinalextra": false,
2236
+ "aggminvtransfn": null,
2237
+ "aggmtransspace": 0,
2238
+ "argument_modes": null,
2239
+ "argument_names": null,
2240
+ "aggmfinalmodify": "r",
2241
+ "transition_type": "pg_catalog.tid",
2242
+ "aggnumdirectargs": 0,
2243
+ "security_definer": false
2244
+ }
2245
+ },
2246
+ {
2247
+ "kind": "resolution",
2248
+ "identity": "pg_catalog.min(time with time zone)",
2249
+ "payload": {
2250
+ "acl": null,
2251
+ "cost": 1,
2252
+ "kind": "a",
2253
+ "rows": 0,
2254
+ "owner": "supabase_admin",
2255
+ "result": "pg_catalog.timetz",
2256
+ "source": "aggregate_dummy",
2257
+ "strict": false,
2258
+ "aggkind": "n",
2259
+ "library": null,
2260
+ "support": null,
2261
+ "aggfnoid": "pg_catalog.min(time with time zone)",
2262
+ "parallel": "s",
2263
+ "settings": null,
2264
+ "variadic": null,
2265
+ "arguments": "time with time zone",
2266
+ "leakproof": false,
2267
+ "aggfinalfn": null,
2268
+ "agginitval": null,
2269
+ "aggtransfn": "pg_catalog.timetz_smaller(time with time zone,time with time zone)",
2270
+ "volatility": "i",
2271
+ "aggmfinalfn": null,
2272
+ "aggminitval": null,
2273
+ "aggmtransfn": null,
2274
+ "aggserialfn": null,
2275
+ "moving_type": null,
2276
+ "aggcombinefn": "pg_catalog.timetz_smaller(time with time zone,time with time zone)",
2277
+ "aggdeserialfn": null,
2278
+ "aggfinalextra": false,
2279
+ "aggtransspace": 0,
2280
+ "sort_operator": "pg_catalog.<(pg_catalog.timetz,pg_catalog.timetz)",
2281
+ "aggfinalmodify": "r",
2282
+ "aggmfinalextra": false,
2283
+ "aggminvtransfn": null,
2284
+ "aggmtransspace": 0,
2285
+ "argument_modes": null,
2286
+ "argument_names": null,
2287
+ "aggmfinalmodify": "r",
2288
+ "transition_type": "pg_catalog.timetz",
2289
+ "aggnumdirectargs": 0,
2290
+ "security_definer": false
2291
+ }
2292
+ },
2293
+ {
2294
+ "kind": "resolution",
2295
+ "identity": "pg_catalog.min(time without time zone)",
2296
+ "payload": {
2297
+ "acl": null,
2298
+ "cost": 1,
2299
+ "kind": "a",
2300
+ "rows": 0,
2301
+ "owner": "supabase_admin",
2302
+ "result": "pg_catalog.\"time\"",
2303
+ "source": "aggregate_dummy",
2304
+ "strict": false,
2305
+ "aggkind": "n",
2306
+ "library": null,
2307
+ "support": null,
2308
+ "aggfnoid": "pg_catalog.min(time without time zone)",
2309
+ "parallel": "s",
2310
+ "settings": null,
2311
+ "variadic": null,
2312
+ "arguments": "time without time zone",
2313
+ "leakproof": false,
2314
+ "aggfinalfn": null,
2315
+ "agginitval": null,
2316
+ "aggtransfn": "pg_catalog.time_smaller(time without time zone,time without time zone)",
2317
+ "volatility": "i",
2318
+ "aggmfinalfn": null,
2319
+ "aggminitval": null,
2320
+ "aggmtransfn": null,
2321
+ "aggserialfn": null,
2322
+ "moving_type": null,
2323
+ "aggcombinefn": "pg_catalog.time_smaller(time without time zone,time without time zone)",
2324
+ "aggdeserialfn": null,
2325
+ "aggfinalextra": false,
2326
+ "aggtransspace": 0,
2327
+ "sort_operator": "pg_catalog.<(pg_catalog.\"time\",pg_catalog.\"time\")",
2328
+ "aggfinalmodify": "r",
2329
+ "aggmfinalextra": false,
2330
+ "aggminvtransfn": null,
2331
+ "aggmtransspace": 0,
2332
+ "argument_modes": null,
2333
+ "argument_names": null,
2334
+ "aggmfinalmodify": "r",
2335
+ "transition_type": "pg_catalog.\"time\"",
2336
+ "aggnumdirectargs": 0,
2337
+ "security_definer": false
2338
+ }
2339
+ },
2340
+ {
2341
+ "kind": "resolution",
2342
+ "identity": "pg_catalog.min(timestamp with time zone)",
2343
+ "payload": {
2344
+ "acl": null,
2345
+ "cost": 1,
2346
+ "kind": "a",
2347
+ "rows": 0,
2348
+ "owner": "supabase_admin",
2349
+ "result": "pg_catalog.timestamptz",
2350
+ "source": "aggregate_dummy",
2351
+ "strict": false,
2352
+ "aggkind": "n",
2353
+ "library": null,
2354
+ "support": null,
2355
+ "aggfnoid": "pg_catalog.min(timestamp with time zone)",
2356
+ "parallel": "s",
2357
+ "settings": null,
2358
+ "variadic": null,
2359
+ "arguments": "timestamp with time zone",
2360
+ "leakproof": false,
2361
+ "aggfinalfn": null,
2362
+ "agginitval": null,
2363
+ "aggtransfn": "pg_catalog.timestamptz_smaller(timestamp with time zone,timestamp with time zone)",
2364
+ "volatility": "i",
2365
+ "aggmfinalfn": null,
2366
+ "aggminitval": null,
2367
+ "aggmtransfn": null,
2368
+ "aggserialfn": null,
2369
+ "moving_type": null,
2370
+ "aggcombinefn": "pg_catalog.timestamptz_smaller(timestamp with time zone,timestamp with time zone)",
2371
+ "aggdeserialfn": null,
2372
+ "aggfinalextra": false,
2373
+ "aggtransspace": 0,
2374
+ "sort_operator": "pg_catalog.<(pg_catalog.timestamptz,pg_catalog.timestamptz)",
2375
+ "aggfinalmodify": "r",
2376
+ "aggmfinalextra": false,
2377
+ "aggminvtransfn": null,
2378
+ "aggmtransspace": 0,
2379
+ "argument_modes": null,
2380
+ "argument_names": null,
2381
+ "aggmfinalmodify": "r",
2382
+ "transition_type": "pg_catalog.timestamptz",
2383
+ "aggnumdirectargs": 0,
2384
+ "security_definer": false
2385
+ }
2386
+ },
2387
+ {
2388
+ "kind": "aggregate",
2389
+ "identity": "pg_catalog.min(timestamp with time zone)",
2390
+ "payload": {
2391
+ "acl": null,
2392
+ "cost": 1,
2393
+ "kind": "a",
2394
+ "rows": 0,
2395
+ "owner": "supabase_admin",
2396
+ "result": "pg_catalog.timestamptz",
2397
+ "source": "aggregate_dummy",
2398
+ "strict": false,
2399
+ "aggkind": "n",
2400
+ "library": null,
2401
+ "support": null,
2402
+ "aggfnoid": "pg_catalog.min(timestamp with time zone)",
2403
+ "parallel": "s",
2404
+ "settings": null,
2405
+ "variadic": null,
2406
+ "arguments": "timestamp with time zone",
2407
+ "leakproof": false,
2408
+ "aggfinalfn": null,
2409
+ "agginitval": null,
2410
+ "aggtransfn": "pg_catalog.timestamptz_smaller(timestamp with time zone,timestamp with time zone)",
2411
+ "volatility": "i",
2412
+ "aggmfinalfn": null,
2413
+ "aggminitval": null,
2414
+ "aggmtransfn": null,
2415
+ "aggserialfn": null,
2416
+ "moving_type": null,
2417
+ "aggcombinefn": "pg_catalog.timestamptz_smaller(timestamp with time zone,timestamp with time zone)",
2418
+ "aggdeserialfn": null,
2419
+ "aggfinalextra": false,
2420
+ "aggtransspace": 0,
2421
+ "sort_operator": "pg_catalog.<(pg_catalog.timestamptz,pg_catalog.timestamptz)",
2422
+ "aggfinalmodify": "r",
2423
+ "aggmfinalextra": false,
2424
+ "aggminvtransfn": null,
2425
+ "aggmtransspace": 0,
2426
+ "argument_modes": null,
2427
+ "argument_names": null,
2428
+ "aggmfinalmodify": "r",
2429
+ "transition_type": "pg_catalog.timestamptz",
2430
+ "aggnumdirectargs": 0,
2431
+ "security_definer": false
2432
+ }
2433
+ },
2434
+ {
2435
+ "kind": "resolution",
2436
+ "identity": "pg_catalog.min(timestamp without time zone)",
2437
+ "payload": {
2438
+ "acl": null,
2439
+ "cost": 1,
2440
+ "kind": "a",
2441
+ "rows": 0,
2442
+ "owner": "supabase_admin",
2443
+ "result": "pg_catalog.\"timestamp\"",
2444
+ "source": "aggregate_dummy",
2445
+ "strict": false,
2446
+ "aggkind": "n",
2447
+ "library": null,
2448
+ "support": null,
2449
+ "aggfnoid": "pg_catalog.min(timestamp without time zone)",
2450
+ "parallel": "s",
2451
+ "settings": null,
2452
+ "variadic": null,
2453
+ "arguments": "timestamp without time zone",
2454
+ "leakproof": false,
2455
+ "aggfinalfn": null,
2456
+ "agginitval": null,
2457
+ "aggtransfn": "pg_catalog.timestamp_smaller(timestamp without time zone,timestamp without time zone)",
2458
+ "volatility": "i",
2459
+ "aggmfinalfn": null,
2460
+ "aggminitval": null,
2461
+ "aggmtransfn": null,
2462
+ "aggserialfn": null,
2463
+ "moving_type": null,
2464
+ "aggcombinefn": "pg_catalog.timestamp_smaller(timestamp without time zone,timestamp without time zone)",
2465
+ "aggdeserialfn": null,
2466
+ "aggfinalextra": false,
2467
+ "aggtransspace": 0,
2468
+ "sort_operator": "pg_catalog.<(pg_catalog.\"timestamp\",pg_catalog.\"timestamp\")",
2469
+ "aggfinalmodify": "r",
2470
+ "aggmfinalextra": false,
2471
+ "aggminvtransfn": null,
2472
+ "aggmtransspace": 0,
2473
+ "argument_modes": null,
2474
+ "argument_names": null,
2475
+ "aggmfinalmodify": "r",
2476
+ "transition_type": "pg_catalog.\"timestamp\"",
2477
+ "aggnumdirectargs": 0,
2478
+ "security_definer": false
2479
+ }
2480
+ },
2481
+ {
2482
+ "kind": "resolution",
2483
+ "identity": "pg_catalog.min(xid8)",
2484
+ "payload": {
2485
+ "acl": null,
2486
+ "cost": 1,
2487
+ "kind": "a",
2488
+ "rows": 0,
2489
+ "owner": "supabase_admin",
2490
+ "result": "pg_catalog.xid8",
2491
+ "source": "aggregate_dummy",
2492
+ "strict": false,
2493
+ "aggkind": "n",
2494
+ "library": null,
2495
+ "support": null,
2496
+ "aggfnoid": "pg_catalog.min(xid8)",
2497
+ "parallel": "s",
2498
+ "settings": null,
2499
+ "variadic": null,
2500
+ "arguments": "xid8",
2501
+ "leakproof": false,
2502
+ "aggfinalfn": null,
2503
+ "agginitval": null,
2504
+ "aggtransfn": "pg_catalog.xid8_smaller(xid8,xid8)",
2505
+ "volatility": "i",
2506
+ "aggmfinalfn": null,
2507
+ "aggminitval": null,
2508
+ "aggmtransfn": null,
2509
+ "aggserialfn": null,
2510
+ "moving_type": null,
2511
+ "aggcombinefn": "pg_catalog.xid8_smaller(xid8,xid8)",
2512
+ "aggdeserialfn": null,
2513
+ "aggfinalextra": false,
2514
+ "aggtransspace": 0,
2515
+ "sort_operator": "pg_catalog.<(pg_catalog.xid8,pg_catalog.xid8)",
2516
+ "aggfinalmodify": "r",
2517
+ "aggmfinalextra": false,
2518
+ "aggminvtransfn": null,
2519
+ "aggmtransspace": 0,
2520
+ "argument_modes": null,
2521
+ "argument_names": null,
2522
+ "aggmfinalmodify": "r",
2523
+ "transition_type": "pg_catalog.xid8",
2524
+ "aggnumdirectargs": 0,
2525
+ "security_definer": false
2526
+ }
2527
+ },
2528
+ {
2529
+ "kind": "resolution",
2530
+ "identity": "pg_catalog.name(character varying)",
2531
+ "payload": {
2532
+ "acl": null,
2533
+ "kind": "f",
2534
+ "owner": "supabase_admin",
2535
+ "definition_md5": "8cfb3f5e2b07883367ea907b6806ff05"
2536
+ }
2537
+ },
2538
+ {
2539
+ "kind": "primitive",
2540
+ "identity": "pg_catalog.name(character varying)",
2541
+ "payload": {
2542
+ "acl": null,
2543
+ "kind": "f",
2544
+ "owner": "supabase_admin",
2545
+ "definition_md5": "8cfb3f5e2b07883367ea907b6806ff05"
2546
+ }
2547
+ },
2548
+ {
2549
+ "kind": "resolution",
2550
+ "identity": "pg_catalog.name(character)",
2551
+ "payload": {
2552
+ "acl": null,
2553
+ "kind": "f",
2554
+ "owner": "supabase_admin",
2555
+ "definition_md5": "bf6d247b9d8a01a4b387fbce21e3db46"
2556
+ }
2557
+ },
2558
+ {
2559
+ "kind": "primitive",
2560
+ "identity": "pg_catalog.name(character)",
2561
+ "payload": {
2562
+ "acl": null,
2563
+ "kind": "f",
2564
+ "owner": "supabase_admin",
2565
+ "definition_md5": "bf6d247b9d8a01a4b387fbce21e3db46"
2566
+ }
2567
+ },
2568
+ {
2569
+ "kind": "resolution",
2570
+ "identity": "pg_catalog.name(text)",
2571
+ "payload": {
2572
+ "acl": null,
2573
+ "kind": "f",
2574
+ "owner": "supabase_admin",
2575
+ "definition_md5": "b5d5a38da921b7baf0fd32c8752d7077"
2576
+ }
2577
+ },
2578
+ {
2579
+ "kind": "primitive",
2580
+ "identity": "pg_catalog.name(text)",
2581
+ "payload": {
2582
+ "acl": null,
2583
+ "kind": "f",
2584
+ "owner": "supabase_admin",
2585
+ "definition_md5": "b5d5a38da921b7baf0fd32c8752d7077"
2586
+ }
2587
+ },
2588
+ {
2589
+ "kind": "resolution",
2590
+ "identity": "pg_catalog.now()",
2591
+ "payload": {
2592
+ "acl": null,
2593
+ "kind": "f",
2594
+ "owner": "supabase_admin",
2595
+ "definition_md5": "cf3312e546e8ed60e1a632bb2014035b"
2596
+ }
2597
+ },
2598
+ {
2599
+ "kind": "primitive",
2600
+ "identity": "pg_catalog.now()",
2601
+ "payload": {
2602
+ "acl": null,
2603
+ "kind": "f",
2604
+ "owner": "supabase_admin",
2605
+ "definition_md5": "cf3312e546e8ed60e1a632bb2014035b"
2606
+ }
2607
+ },
2608
+ {
2609
+ "kind": "resolution",
2610
+ "identity": "pg_catalog.replace(text,text,text)",
2611
+ "payload": {
2612
+ "acl": null,
2613
+ "kind": "f",
2614
+ "owner": "supabase_admin",
2615
+ "definition_md5": "9e80d500bebb0516bf2ea7676ebdd4df"
2616
+ }
2617
+ },
2618
+ {
2619
+ "kind": "primitive",
2620
+ "identity": "pg_catalog.replace(text,text,text)",
2621
+ "payload": {
2622
+ "acl": null,
2623
+ "kind": "f",
2624
+ "owner": "supabase_admin",
2625
+ "definition_md5": "9e80d500bebb0516bf2ea7676ebdd4df"
2626
+ }
2627
+ },
2628
+ {
2629
+ "kind": "resolution",
2630
+ "identity": "pg_catalog.split_part(text,text,integer)",
2631
+ "payload": {
2632
+ "acl": null,
2633
+ "kind": "f",
2634
+ "owner": "supabase_admin",
2635
+ "definition_md5": "bdf3bbe2d464e88815575c2814a28e95"
2636
+ }
2637
+ },
2638
+ {
2639
+ "kind": "primitive",
2640
+ "identity": "pg_catalog.split_part(text,text,integer)",
2641
+ "payload": {
2642
+ "acl": null,
2643
+ "kind": "f",
2644
+ "owner": "supabase_admin",
2645
+ "definition_md5": "bdf3bbe2d464e88815575c2814a28e95"
2646
+ }
2647
+ },
2648
+ {
2649
+ "kind": "resolution",
2650
+ "identity": "pg_catalog.string_to_array(text,text,text)",
2651
+ "payload": {
2652
+ "acl": null,
2653
+ "kind": "f",
2654
+ "owner": "supabase_admin",
2655
+ "definition_md5": "80e9506c61e3cc81233fef88ce21a5a7"
2656
+ }
2657
+ },
2658
+ {
2659
+ "kind": "resolution",
2660
+ "identity": "pg_catalog.string_to_array(text,text)",
2661
+ "payload": {
2662
+ "acl": null,
2663
+ "kind": "f",
2664
+ "owner": "supabase_admin",
2665
+ "definition_md5": "5545f9f38ae64a4a78624e792db13551"
2666
+ }
2667
+ },
2668
+ {
2669
+ "kind": "primitive",
2670
+ "identity": "pg_catalog.string_to_array(text,text)",
2671
+ "payload": {
2672
+ "acl": null,
2673
+ "kind": "f",
2674
+ "owner": "supabase_admin",
2675
+ "definition_md5": "5545f9f38ae64a4a78624e792db13551"
2676
+ }
2677
+ },
2678
+ {
2679
+ "kind": "resolution",
2680
+ "identity": "pg_catalog.textcat(text,text)",
2681
+ "payload": {
2682
+ "acl": null,
2683
+ "kind": "f",
2684
+ "owner": "supabase_admin",
2685
+ "definition_md5": "126e0056f99978d6906df30e4d7e9fc5"
2686
+ }
2687
+ },
2688
+ {
2689
+ "kind": "primitive",
2690
+ "identity": "pg_catalog.textcat(text,text)",
2691
+ "payload": {
2692
+ "acl": null,
2693
+ "kind": "f",
2694
+ "owner": "supabase_admin",
2695
+ "definition_md5": "126e0056f99978d6906df30e4d7e9fc5"
2696
+ }
2697
+ },
2698
+ {
2699
+ "kind": "resolution",
2700
+ "identity": "pg_catalog.texteq(text,text)",
2701
+ "payload": {
2702
+ "acl": null,
2703
+ "kind": "f",
2704
+ "owner": "supabase_admin",
2705
+ "definition_md5": "faf3ee13d92e3209613814d1a7b0d42f"
2706
+ }
2707
+ },
2708
+ {
2709
+ "kind": "primitive",
2710
+ "identity": "pg_catalog.texteq(text,text)",
2711
+ "payload": {
2712
+ "acl": null,
2713
+ "kind": "f",
2714
+ "owner": "supabase_admin",
2715
+ "definition_md5": "faf3ee13d92e3209613814d1a7b0d42f"
2716
+ }
2717
+ },
2718
+ {
2719
+ "kind": "resolution",
2720
+ "identity": "pg_catalog.textlike_support(internal)",
2721
+ "payload": {
2722
+ "acl": null,
2723
+ "kind": "f",
2724
+ "owner": "supabase_admin",
2725
+ "definition_md5": "3db9809082020090932e2b9e88fe7672"
2726
+ }
2727
+ },
2728
+ {
2729
+ "kind": "primitive",
2730
+ "identity": "pg_catalog.textlike_support(internal)",
2731
+ "payload": {
2732
+ "acl": null,
2733
+ "kind": "f",
2734
+ "owner": "supabase_admin",
2735
+ "definition_md5": "3db9809082020090932e2b9e88fe7672"
2736
+ }
2737
+ },
2738
+ {
2739
+ "kind": "resolution",
2740
+ "identity": "pg_catalog.textlike(text,text)",
2741
+ "payload": {
2742
+ "acl": null,
2743
+ "kind": "f",
2744
+ "owner": "supabase_admin",
2745
+ "definition_md5": "d5a54425be5bbee729813d00dfd90349"
2746
+ }
2747
+ },
2748
+ {
2749
+ "kind": "primitive",
2750
+ "identity": "pg_catalog.textlike(text,text)",
2751
+ "payload": {
2752
+ "acl": null,
2753
+ "kind": "f",
2754
+ "owner": "supabase_admin",
2755
+ "definition_md5": "d5a54425be5bbee729813d00dfd90349"
2756
+ }
2757
+ },
2758
+ {
2759
+ "kind": "resolution",
2760
+ "identity": "pg_catalog.textne(text,text)",
2761
+ "payload": {
2762
+ "acl": null,
2763
+ "kind": "f",
2764
+ "owner": "supabase_admin",
2765
+ "definition_md5": "3d1beb3c079863a7bc6bccefc08ea54a"
2766
+ }
2767
+ },
2768
+ {
2769
+ "kind": "primitive",
2770
+ "identity": "pg_catalog.textne(text,text)",
2771
+ "payload": {
2772
+ "acl": null,
2773
+ "kind": "f",
2774
+ "owner": "supabase_admin",
2775
+ "definition_md5": "3d1beb3c079863a7bc6bccefc08ea54a"
2776
+ }
2777
+ },
2778
+ {
2779
+ "kind": "resolution",
2780
+ "identity": "pg_catalog.timestamptz_smaller(timestamp with time zone,timestamp with time zone)",
2781
+ "payload": {
2782
+ "acl": null,
2783
+ "kind": "f",
2784
+ "owner": "supabase_admin",
2785
+ "definition_md5": "7dcb1720e1fcad7bdd839627180dee05"
2786
+ }
2787
+ },
2788
+ {
2789
+ "kind": "primitive",
2790
+ "identity": "pg_catalog.timestamptz_smaller(timestamp with time zone,timestamp with time zone)",
2791
+ "payload": {
2792
+ "acl": null,
2793
+ "kind": "f",
2794
+ "owner": "supabase_admin",
2795
+ "definition_md5": "7dcb1720e1fcad7bdd839627180dee05"
2796
+ }
2797
+ },
2798
+ {
2799
+ "kind": "resolution",
2800
+ "identity": "storage.get_common_prefix(text,text,text)",
2801
+ "payload": {
2802
+ "acl": null,
2803
+ "kind": "f",
2804
+ "owner": "supabase_storage_admin",
2805
+ "definition_md5": "0dc62b74fb855d4f504f50f900f93927"
2806
+ }
2807
+ },
2808
+ {
2809
+ "kind": "name",
2810
+ "identity": "chr",
2811
+ "payload": "chr"
2812
+ },
2813
+ {
2814
+ "kind": "name",
2815
+ "identity": "date_trunc",
2816
+ "payload": "date_trunc"
2817
+ },
2818
+ {
2819
+ "kind": "name",
2820
+ "identity": "format",
2821
+ "payload": "format"
2822
+ },
2823
+ {
2824
+ "kind": "name",
2825
+ "identity": "gen_random_uuid",
2826
+ "payload": "gen_random_uuid"
2827
+ },
2828
+ {
2829
+ "kind": "name",
2830
+ "identity": "get_common_prefix",
2831
+ "payload": "get_common_prefix"
2832
+ },
2833
+ {
2834
+ "kind": "name",
2835
+ "identity": "int4gt",
2836
+ "payload": "int4gt"
2837
+ },
2838
+ {
2839
+ "kind": "name",
2840
+ "identity": "int4mi",
2841
+ "payload": "int4mi"
2842
+ },
2843
+ {
2844
+ "kind": "name",
2845
+ "identity": "int4pl",
2846
+ "payload": "int4pl"
2847
+ },
2848
+ {
2849
+ "kind": "name",
2850
+ "identity": "int8",
2851
+ "payload": "int8"
2852
+ },
2853
+ {
2854
+ "kind": "name",
2855
+ "identity": "left",
2856
+ "payload": "left"
2857
+ },
2858
+ {
2859
+ "kind": "name",
2860
+ "identity": "length",
2861
+ "payload": "length"
2862
+ },
2863
+ {
2864
+ "kind": "name",
2865
+ "identity": "lower",
2866
+ "payload": "lower"
2867
+ },
2868
+ {
2869
+ "kind": "name",
2870
+ "identity": "min",
2871
+ "payload": "min"
2872
+ },
2873
+ {
2874
+ "kind": "name",
2875
+ "identity": "name",
2876
+ "payload": "name"
2877
+ },
2878
+ {
2879
+ "kind": "name",
2880
+ "identity": "now",
2881
+ "payload": "now"
2882
+ },
2883
+ {
2884
+ "kind": "name",
2885
+ "identity": "position",
2886
+ "payload": "position"
2887
+ },
2888
+ {
2889
+ "kind": "name",
2890
+ "identity": "replace",
2891
+ "payload": "replace"
2892
+ },
2893
+ {
2894
+ "kind": "name",
2895
+ "identity": "split_part",
2896
+ "payload": "split_part"
2897
+ },
2898
+ {
2899
+ "kind": "name",
2900
+ "identity": "string_to_array",
2901
+ "payload": "string_to_array"
2902
+ },
2903
+ {
2904
+ "kind": "name",
2905
+ "identity": "substring",
2906
+ "payload": "substring"
2907
+ },
2908
+ {
2909
+ "kind": "name",
2910
+ "identity": "textcat",
2911
+ "payload": "textcat"
2912
+ },
2913
+ {
2914
+ "kind": "name",
2915
+ "identity": "texteq",
2916
+ "payload": "texteq"
2917
+ },
2918
+ {
2919
+ "kind": "name",
2920
+ "identity": "textlike",
2921
+ "payload": "textlike"
2922
+ },
2923
+ {
2924
+ "kind": "name",
2925
+ "identity": "textlike_support",
2926
+ "payload": "textlike_support"
2927
+ },
2928
+ {
2929
+ "kind": "name",
2930
+ "identity": "textne",
2931
+ "payload": "textne"
2932
+ },
2933
+ {
2934
+ "kind": "name",
2935
+ "identity": "timestamptz_smaller",
2936
+ "payload": "timestamptz_smaller"
2937
+ }
2938
+ ]$timestamp_reference$::jsonb);