@@ -234,7 +234,7 @@ PL/pgSQL function prepare_for_partitioning(regclass,text,boolean) line 9 at PERF
234
234
SQL statement "SELECT public.prepare_for_partitioning(parent_relid,
235
235
expression,
236
236
partition_data)"
237
- PL/pgSQL function create_hash_partitions(regclass,text,integer,boolean,text[],text[]) line 4 at PERFORM
237
+ PL/pgSQL function create_hash_partitions(regclass,text,integer,boolean,text[],text[]) line 3 at PERFORM
238
238
/* Try using system attributes */
239
239
SELECT create_hash_partitions('test_exprs.hash_rel', 'xmin', 4);
240
240
ERROR: failed to analyze partitioning expression "xmin"
@@ -244,7 +244,7 @@ PL/pgSQL function prepare_for_partitioning(regclass,text,boolean) line 9 at PERF
244
244
SQL statement "SELECT public.prepare_for_partitioning(parent_relid,
245
245
expression,
246
246
partition_data)"
247
- PL/pgSQL function create_hash_partitions(regclass,text,integer,boolean,text[],text[]) line 4 at PERFORM
247
+ PL/pgSQL function create_hash_partitions(regclass,text,integer,boolean,text[],text[]) line 3 at PERFORM
248
248
/* Try using subqueries */
249
249
SELECT create_hash_partitions('test_exprs.hash_rel',
250
250
'value, (select oid from pg_class limit 1)',
@@ -256,7 +256,7 @@ PL/pgSQL function prepare_for_partitioning(regclass,text,boolean) line 9 at PERF
256
256
SQL statement "SELECT public.prepare_for_partitioning(parent_relid,
257
257
expression,
258
258
partition_data)"
259
- PL/pgSQL function create_hash_partitions(regclass,text,integer,boolean,text[],text[]) line 4 at PERFORM
259
+ PL/pgSQL function create_hash_partitions(regclass,text,integer,boolean,text[],text[]) line 3 at PERFORM
260
260
/* Try using mutable expression */
261
261
SELECT create_hash_partitions('test_exprs.hash_rel', 'random()', 4);
262
262
ERROR: failed to analyze partitioning expression "random()"
@@ -266,7 +266,7 @@ PL/pgSQL function prepare_for_partitioning(regclass,text,boolean) line 9 at PERF
266
266
SQL statement "SELECT public.prepare_for_partitioning(parent_relid,
267
267
expression,
268
268
partition_data)"
269
- PL/pgSQL function create_hash_partitions(regclass,text,integer,boolean,text[],text[]) line 4 at PERFORM
269
+ PL/pgSQL function create_hash_partitions(regclass,text,integer,boolean,text[],text[]) line 3 at PERFORM
270
270
/* Try using broken parentheses */
271
271
SELECT create_hash_partitions('test_exprs.hash_rel', 'value * value2))', 4);
272
272
ERROR: failed to parse partitioning expression "value * value2))"
@@ -276,7 +276,7 @@ CONTEXT: PL/pgSQL function prepare_for_partitioning(regclass,text,boolean) line
276
276
SQL statement "SELECT public.prepare_for_partitioning(parent_relid,
277
277
expression,
278
278
partition_data)"
279
- PL/pgSQL function create_hash_partitions(regclass,text,integer,boolean,text[],text[]) line 4 at PERFORM
279
+ PL/pgSQL function create_hash_partitions(regclass,text,integer,boolean,text[],text[]) line 3 at PERFORM
280
280
/* Try using missing columns */
281
281
SELECT create_hash_partitions('test_exprs.hash_rel', 'value * value3', 4);
282
282
ERROR: failed to analyze partitioning expression "value * value3"
@@ -287,7 +287,7 @@ CONTEXT: PL/pgSQL function prepare_for_partitioning(regclass,text,boolean) line
287
287
SQL statement "SELECT public.prepare_for_partitioning(parent_relid,
288
288
expression,
289
289
partition_data)"
290
- PL/pgSQL function create_hash_partitions(regclass,text,integer,boolean,text[],text[]) line 4 at PERFORM
290
+ PL/pgSQL function create_hash_partitions(regclass,text,integer,boolean,text[],text[]) line 3 at PERFORM
291
291
/* Check that 'pathman_hooks_enabled' is true (1 partition in plan) */
292
292
EXPLAIN (COSTS OFF) INSERT INTO test_exprs.canary_copy
293
293
SELECT * FROM test_exprs.canary WHERE val = 1;
0 commit comments