-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathpostgresql-long.sql
More file actions
399 lines (346 loc) · 41.4 KB
/
Copy pathpostgresql-long.sql
File metadata and controls
399 lines (346 loc) · 41.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
-- \c mydb;
-- CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
-- CREATE OR REPLACE FUNCTION rdm_latin_letters_static(num_chars integer) RETURNS text AS $$
-- DECLARE
-- result text[];
-- i integer := 0;
-- random_char integer;
-- BEGIN
-- FOR i IN 1..num_chars LOOP
-- -- Generate random Latin letter (A-Z, a-z)
-- random_char :=
-- CASE
-- WHEN random() < 0.5 THEN 65 + floor(random() * 26)::integer -- Uppercase A-Z (ASCII 65-90)
-- ELSE 97 + floor(random() * 26)::integer -- Lowercase a-z (ASCII 97-122)
-- END;
-- result[i] = chr(random_char);
-- END LOOP;
-- RETURN array_to_string(result, '');
-- END;
-- $$ LANGUAGE plpgsql;
-- CREATE OR REPLACE FUNCTION rdm_ascii(num_chars integer) RETURNS text AS $$
-- DECLARE
-- result text[];
-- i integer := 0;
-- random_char integer;
-- BEGIN
-- num_chars = ceil(random() * num_chars);
-- FOR i IN 1..num_chars LOOP
-- random_char := 32 + floor(random() * 95)::integer;
-- result[i] := chr(random_char);
-- END LOOP;
-- RETURN array_to_string(result, '');
-- END;
-- $$ LANGUAGE plpgsql;
-- CREATE OR REPLACE FUNCTION rdm_unicode(num_chars integer) RETURNS text AS $$
-- DECLARE
-- result text[]; -- use an array instead of text
-- i integer := 0;
-- random_char integer;
-- range_choice integer;
-- BEGIN
-- num_chars = ceil(random() * num_chars);
-- FOR i IN 1..num_chars LOOP
-- range_choice := floor(random() * 100)::integer;
-- CASE
-- WHEN range_choice < 3 THEN
-- random_char := 128 + floor(random() * 128)::integer; -- Extended unicode range
-- WHEN range_choice < 4 THEN
-- random_char := 256 + floor(random() * 128)::integer; -- Another extended unicode range
-- WHEN range_choice < 5 THEN
-- random_char := 384 + floor(random() * 112)::integer; -- Another extended unicode range
-- WHEN range_choice < 10 THEN
-- random_char := 1024 + floor(random() * 256)::integer; -- Cyrillic
-- WHEN range_choice < 20 THEN
-- random_char := 19968 + floor(random() * 20992)::integer; -- Chinese Han characters
-- WHEN range_choice < 25 THEN
-- random_char := 1536 + floor(random() * 256)::integer; -- Arabic
-- WHEN range_choice < 30 THEN
-- random_char := 44032 + floor(random() * 11172)::integer; -- Korean Hangul Syllables
-- WHEN range_choice < 32 THEN
-- random_char := 12352 + floor(random() * 96)::integer; -- Hiragana
-- WHEN range_choice < 34 THEN
-- random_char := 12448 + floor(random() * 96)::integer; -- Katakana
-- WHEN range_choice < 35 THEN
-- random_char := 880 + floor(random() * 128)::integer; -- Greek
-- WHEN range_choice < 36 THEN
-- random_char := 1424 + floor(random() * 128)::integer; -- Hebrew
-- WHEN range_choice < 38 THEN
-- random_char := 2304 + floor(random() * 128)::integer; -- Hindi (Devanagari script)
-- WHEN range_choice < 39 THEN
-- random_char := 3584 + floor(random() * 128)::integer; -- Thai
-- WHEN range_choice < 40 THEN
-- random_char := 8704 + floor(random() * 256)::integer; -- Mathematical Symbols Basic
-- WHEN range_choice < 41 THEN
-- random_char := 8192 + floor(random() * 112)::integer; -- General Punctuation
-- WHEN range_choice < 42 THEN
-- random_char := 9472 + floor(random() * 128)::integer; -- Box Drawing
-- WHEN range_choice < 43 THEN
-- random_char := 9728 + floor(random() * 192)::integer; -- Dingbats
-- WHEN range_choice < 44 THEN
-- random_char := 12288 + floor(random() * 64)::integer; -- CJK Symbols and Punctuation
-- WHEN range_choice < 45 THEN
-- random_char := 7680 + floor(random() * 256)::integer; -- unicode Extended Additional
-- WHEN range_choice < 46 THEN
-- random_char := 127872 + floor(random() * 256)::integer; -- Symbols for Legacy Computing
-- WHEN range_choice < 50 THEN
-- random_char := 128512 + floor(random() * 207)::integer; -- Extended mojis
-- ELSE -- everything else should be basic unicode range
-- random_char := 32 + floor(random() * 95)::integer; -- Basic unicode range
-- END CASE;
-- result[i] := chr(random_char); -- assign character to the array at position i
-- END LOOP;
-- RETURN array_to_string(result, ''); -- convert the array back to a string
-- END;
-- $$ LANGUAGE plpgsql;
-- CREATE OR REPLACE FUNCTION rdm_ascii_static(num_chars integer) RETURNS text AS $$
-- DECLARE
-- result text[];
-- i integer := 0;
-- random_char integer;
-- BEGIN
-- FOR i IN 1..num_chars LOOP
-- random_char := 32 + floor(random() * 95)::integer;
-- result[i] := chr(random_char);
-- END LOOP;
-- RETURN array_to_string(result, '');
-- END;
-- $$ LANGUAGE plpgsql;
-- CREATE OR REPLACE FUNCTION rdm_unicode_static(num_chars integer) RETURNS text AS $$
-- DECLARE
-- result text[]; -- use an array instead of text
-- i integer := 0;
-- random_char integer;
-- range_choice integer;
-- BEGIN
-- FOR i IN 1..num_chars LOOP
-- range_choice := floor(random() * 100)::integer;
-- CASE
-- WHEN range_choice < 3 THEN
-- random_char := 128 + floor(random() * 128)::integer; -- Extended unicode range
-- WHEN range_choice < 4 THEN
-- random_char := 256 + floor(random() * 128)::integer; -- Another extended unicode range
-- WHEN range_choice < 5 THEN
-- random_char := 384 + floor(random() * 112)::integer; -- Another extended unicode range
-- WHEN range_choice < 10 THEN
-- random_char := 1024 + floor(random() * 256)::integer; -- Cyrillic
-- WHEN range_choice < 20 THEN
-- random_char := 19968 + floor(random() * 20992)::integer; -- Chinese Han characters
-- WHEN range_choice < 25 THEN
-- random_char := 1536 + floor(random() * 256)::integer; -- Arabic
-- WHEN range_choice < 30 THEN
-- random_char := 44032 + floor(random() * 11172)::integer; -- Korean Hangul Syllables
-- WHEN range_choice < 32 THEN
-- random_char := 12352 + floor(random() * 96)::integer; -- Hiragana
-- WHEN range_choice < 34 THEN
-- random_char := 12448 + floor(random() * 96)::integer; -- Katakana
-- WHEN range_choice < 35 THEN
-- random_char := 880 + floor(random() * 128)::integer; -- Greek
-- WHEN range_choice < 36 THEN
-- random_char := 1424 + floor(random() * 128)::integer; -- Hebrew
-- WHEN range_choice < 38 THEN
-- random_char := 2304 + floor(random() * 128)::integer; -- Hindi (Devanagari script)
-- WHEN range_choice < 39 THEN
-- random_char := 3584 + floor(random() * 128)::integer; -- Thai
-- WHEN range_choice < 40 THEN
-- random_char := 8704 + floor(random() * 256)::integer; -- Mathematical Symbols Basic
-- WHEN range_choice < 41 THEN
-- random_char := 8192 + floor(random() * 112)::integer; -- General Punctuation
-- WHEN range_choice < 42 THEN
-- random_char := 9472 + floor(random() * 128)::integer; -- Box Drawing
-- WHEN range_choice < 43 THEN
-- random_char := 9728 + floor(random() * 192)::integer; -- Dingbats
-- WHEN range_choice < 44 THEN
-- random_char := 12288 + floor(random() * 64)::integer; -- CJK Symbols and Punctuation
-- WHEN range_choice < 45 THEN
-- random_char := 7680 + floor(random() * 256)::integer; -- unicode Extended Additional
-- WHEN range_choice < 46 THEN
-- random_char := 127872 + floor(random() * 256)::integer; -- Symbols for Legacy Computing
-- WHEN range_choice < 50 THEN
-- random_char := 128512 + floor(random() * 207)::integer; -- Extended mojis
-- ELSE -- everything else should be basic unicode range
-- random_char := 32 + floor(random() * 95)::integer; -- Basic unicode range
-- END CASE;
-- result[i] := chr(random_char); -- assign character to the array at position i
-- END LOOP;
-- RETURN array_to_string(result, ''); -- convert the array back to a string
-- END;
-- $$ LANGUAGE plpgsql;
-- CREATE OR REPLACE FUNCTION rdm_bit(num_bits INTEGER)
-- RETURNS varbit AS $$
-- DECLARE
-- i integer := 0;
-- bit_str text[];
-- BEGIN
-- FOR i IN 1..num_bits LOOP
-- bit_str[i] := (CASE WHEN random() < 0.5 THEN '0' ELSE '1' END);
-- END LOOP;
-- RETURN array_to_string(bit_str, '')::varbit;
-- END;
-- $$ LANGUAGE plpgsql;
-- CREATE OR REPLACE FUNCTION rdm_varbit(num_bits INTEGER)
-- RETURNS varbit AS $$
-- DECLARE
-- i integer := 0;
-- bit_str text[];
-- BEGIN
-- num_bits = ceil(random() * num_bits);
-- FOR i IN 1..num_bits LOOP
-- bit_str[i] := (CASE WHEN random() < 0.5 THEN '0' ELSE '1' END);
-- END LOOP;
-- RETURN array_to_string(bit_str, '')::varbit;
-- END;
-- $$ LANGUAGE plpgsql;
-- CREATE OR REPLACE FUNCTION rdm_decimal(total_digits INTEGER, decimal_digits INTEGER)
-- RETURNS NUMERIC AS $$
-- DECLARE
-- int_part INTEGER;
-- decimal_part NUMERIC;
-- max_value INTEGER;
-- factor NUMERIC;
-- BEGIN
-- total_digits = ceil(random() * total_digits);
-- decimal_digits = ceil(total_digits - random() * decimal_digits);
-- -- Calculate the integer part's maximum value
-- max_value := 10 ^ (total_digits - decimal_digits) - 1;
-- -- Generate a random integer part
-- int_part := FLOOR(random() * max_value);
-- -- Calculate the factor for the decimal part based on scale
-- factor := 10 ^ decimal_digits;
-- -- Generate a random decimal part
-- decimal_part := FLOOR(random() * factor) / factor;
-- -- Combine the integer and decimal parts
-- RETURN int_part + decimal_part;
-- END;
-- $$ LANGUAGE plpgsql;
-- CREATE TABLE long_table (
-- random_unicode_text text,
-- random_int4 int4,
-- random_float4 float4,
-- random_numeric numeric(10, 5),
-- random_timestamp timestamp,
-- random_bytea bytea,
-- random_unicode_jsonb jsonb,
-- random_unicode_xml xml
-- );
-- DO $$
-- DECLARE
-- counter INTEGER := 0;
-- BEGIN
-- WHILE counter < 100 LOOP
-- INSERT INTO complex_table (
-- random_unicode_text,
-- random_int4,
-- random_float4,
-- random_numeric,
-- random_timestamp,
-- random_bytea,
-- random_unicode_jsonb,
-- random_unicode_xml
-- )
-- VALUES
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32))),
-- (rdm_unicode(32), floor(random() * 2147483647)::int4, random()::float4, rdm_decimal(10, 5), NOW() - '1 year'::interval * random(), decode(md5(random()::text), 'hex'), jsonb_build_object(rdm_unicode(32), rdm_unicode(32)), xmlelement(name foo, xmlattributes(rdm_unicode(32) as bar), rdm_unicode(32)))
-- ;
-- counter := counter + 1;
-- END LOOP;
-- END;
-- $$ LANGUAGE plpgsql;