4
这样会提示期望是partition by而不是partition of error.log
这样会提示期望是partition by而不是partition of error.log
执行的SQL如下:
CREATE TABLE IF NOT EXISTS lc_event_1689811200000 PARTITION OF lc_event FOR VALUES FROM (1689811200000) TO (1690416000000)
看了一下是不支持, 官方也有示例sql: https://www.postgresql.org/docs/current/sql-createtable.html 近期我来加下解析支持