Hi Ildar, On Wed, Apr 20, 2016 at 11:46 PM, Ildar Musin <i.mu...@postgrespro.ru> wrote: > Thanks for clarification! I tried the updated patch, now it works correctly.
Great, thanks! > I encountered another problem that concerns expressions as partitioning key. > Probably there is still some work in progress. But if it will help here is > my case: > > create table inh(a int, b int) partition by range ((a+b)); > create table inh_1 partition of inh for values start (0) end (10); > create table inh_2 partition of inh for values start (10) end (20); > > Then if we run any SELECT query it crashes postgres: > > select * from inh; > > Crash occurs in get_check_expr_from_partbound(). It seems that function is > not yet expecting an expression key and designed to handle only simple > attributes keys. Backtrace: You're right, silly mistake. :-( Will fix Thanks, Amit -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers