I tried creating partitioned table by range on an expression like CREATE TABLE pt1_e (a int, b int, c varchar) PARTITION BY RANGE(a + b); ERROR: syntax error at or near "+" LINE 1: ...E pt1_e (a int, b int, c varchar) PARTITION BY RANGE(a + b);
But when I try to create partitioned table by range on expression chr(a) it works.
On 2016/06/08 22:22, Ashutosh Bapat wrote: > On Mon, May 23, 2016 at 3:35 PM, Amit Langote wrote >> >> [...] >> >> I made a mistake in the last version of the patch which caused a relcache >> field to be pfree'd unexpectedly. Attached updated patches. > > 0003-... patch does not apply cleanly. It has some conflicts in pg_dump.c. > I have tried fixing the conflict in attached patch.
Thanks. See attached rebased patches.
Regards, Amit
--
Best Wishes, Ashutosh Bapat EnterpriseDB Corporation The Postgres Database Company