Closed
Description
Hi, Very cool project!
I have the following schema:
CREATE TABLE "user" (
"id" uuid PRIMARY KEY,
"other_id" uuid NOT NULL,
...
) PARTITION BY HASH (other_id);
CREATE TABLE "user_1" PARTITION OF "user" FOR VALUES WITH (MODULUS 10, REMAINDER 0);
when I run sqlc generate
I get the error message syntax error at or near "WITH"
I guess it has to do with hash partition introduced in Postgres 11
Any plans to make it work? Or any workaround?
Thanks