Jay Stanley <beansboy(at)cruzio(dot)com> writes:
> However, it's failing on partition-management SQL like:
> postgres=# alter table my_schema.my_table drop partition
> "my_schema"."my_schema.my_table_should_not_work";
> ERROR: syntax error at or near ""my_schema""
> LINE 1: alter table my_schema.my_table drop partition "my_schema"."m...
> ^
I'm not sure why the error cursor is pointing there, but
"drop partition" is not a valid subcommand. Try "detach
partition".
regards, tom lane