Re: pg_dump outputs invalid syntax for partitions with bool partkeys in pg10

2018-03-01 Thread Amit Langote
Hi David. On 2018/03/02 12:41, David Rowley wrote: > Quite simply: > > d1=# create table bp (b bool) partition by list(b); > CREATE TABLE > d1=# create table bp_f partition of bp for values in('f'); > CREATE TABLE > d1=# \q > $ createdb d2 > $ pg_dump d1 | psql d2 > > ... > > ERROR: syntax err

pg_dump outputs invalid syntax for partitions with bool partkeys in pg10

2018-03-01 Thread David Rowley
Quite simply: d1=# create table bp (b bool) partition by list(b); CREATE TABLE d1=# create table bp_f partition of bp for values in('f'); CREATE TABLE d1=# \q $ createdb d2 $ pg_dump d1 | psql d2 ... ERROR: syntax error at or near "false" LINE 2: FOR VALUES IN (false); ^