Сreate parallel aggregate
От | Grigory Smolkin |
---|---|
Тема | Сreate parallel aggregate |
Дата | |
Msg-id | b1e247ca-23ad-1d24-cecc-28600550f7bb@postgrespro.ru обсуждение исходный текст |
Ответы |
Re: Сreate parallel aggregate
|
Список | pgsql-general |
Hello, everyone!
I was trying to create a parallel aggregate with base_type parameter and failed
postgres=# CREATE AGGREGATE ST_Extent_parallel (
sfunc = ST_CombineBBox,
combinefunc = ST_CombineBBox,
finalfunc = box2d,
stype = box3d,
basetype = geometry,
parallel = safe
);
ERROR: syntax error at or near "parallel"
LINE 7: parallel = safe
But everything is ok if I use arg_data_type:
postgres=# CREATE AGGREGATE ST_Extent_parallel(geometry) (
sfunc = ST_CombineBBox,
combinefunc = ST_CombineBBox,
finalfunc = box2d,
stype = box3d,
parallel = safe
);
CREATE AGGREGATE
Is that a bug or a feature?
-- Grigory Smolkin Postgres Professional: http://www.postgrespro.com The Russian Postgres Company
В списке pgsql-general по дате отправления: