You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to docs, currently only PARTITION BY is supported but PARTITION OF is not.
i.e. for the provided example
CREATETABLEmeasurements (
id int8 PRIMARY KEY,
value float8 NOT NULL,
datetimestamptzNOT NULL,
hot boolean
) PARTITION BY LIST (hot);
CREATETABLEmeasurements_hot PARTITION OF measurements
FOR VALUESIN (TRUE);
This issue has been automatically marked as stale because it has not had activity in the last 30 days. If there is no update within the next 7 days, this issue will be closed.
This issue has been automatically marked as stale because it has not had activity in the last 30 days. If there is no update within the next 7 days, this issue will be closed.
According to docs, currently only
PARTITION BY
is supported butPARTITION OF
is not.i.e. for the provided example
You can write bun query for the first statement:
But you cannot write a query for the second statement in the same manner.
Although it is possible to use
db.Exec(...)
with plain SQL, we would be happy to see support forPARTITION OF
in ORM CreateTable query.The text was updated successfully, but these errors were encountered: